Method and System for Asynchronous Mobile Payments for Multiple In-Person Transactions Conducted in Parallel

ABSTRACT

A mobile consumer device with a display, processor(s), and memory: identifies a merchant device in proximity to the consumer device based on broadcasted information transmitted by the first merchant device, the broadcasted information including a first identifier corresponding to the first merchant device; transmits the first identifier to a server and receives from the server an electronic communication including identification and transaction information associated with the merchant; displays the identification information, receives user selection of the merchant identification information; and in response, displays the merchant transaction information, receives supplemental user information, and transmits the supplemental transaction information to the server for completion of the transaction.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/681,673, filed Nov. 12, 2019.

U.S. patent application Ser. No. 16/681,673 claims priority to U.S. Provisional Patent Application 62/760,032, filed Nov. 12, 2018, which is hereby incorporated by reference in its entirety.

U.S. patent application Ser. No. 16/681,673 is a continuation of International Patent Application PCT/US2019/060777, filed Nov. 11, 2019, which claims priority to U.S. Provisional Patent Application 62/760,032, filed Nov. 12, 2018, each of which is hereby incorporated by reference in its entirety.

U.S. patent application Ser. No. 16/681,673 is a continuation-in-part of U.S. patent application Ser. No. 15/406,492, filed Jan. 13, 2017, which is a continuation of U.S. patent application Ser. No. 14/335,762, filed Jul. 18, 2014, issued as U.S. Pat. No. 9,547,859 on Jan. 17, 2017, which is a continuation of U.S. patent application Ser. No. 14/214,644, filed Mar. 14, 2014, issued as U.S. Pat. No. 8,856,045 on Oct. 7, 2014, which claims priority to U.S. Provisional Patent Application 61/917,936, filed Dec. 18, 2013. U.S. patent application Ser. No. 14/214,644 is also a continuation-in-part of U.S. Design patent application 29/477,025, filed Dec. 18, 2013, issued as U.S. Design patent D755,183 on May 3, 2016, each of which is hereby incorporated by reference in its entirety.

U.S. patent application Ser. No. 16/681,673 is a continuation-in-part of U.S. patent application Ser. No. 16/029,483, filed Jul. 6, 2018, which is a continuation of U.S. patent application Ser. No. 14/611,065, filed Jan. 30, 2015, issued as U.S. Pat. No. 10,019,724 on Jul. 10, 2018, each of which is hereby incorporated by reference in its entirety.

U.S. patent application Ser. No. 16/681,673 is related to U.S. patent application Ser. No. 15/435,228, filed Feb. 16, 2017, U.S. patent application Ser. No. 14/458,192, filed Aug. 12, 2014, U.S. patent application Ser. No. 14/456,683, filed Aug. 11, 2014, U.S. patent application Ser. No. 15/893,514, filed Feb. 9, 2018, U.S. patent application Ser. No. 14/641,236, filed Mar. 6, 2015, and U.S. patent application Ser. No. 14/320,534, filed Jun. 30, 2014, each of which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

The present application relates to the field of payment processing systems, and in particular, to a mobile-device-to-server payment processing system initiated by a short-range mobile-device-to-mobile-device communication.

BACKGROUND

Traditional electronic payment systems for in-person transactions are one-to-one such that there is one merchant and one consumer conducting one transaction at a time. The process requires a captive, exclusive interaction between the merchant and consumer, and typically neither party may disengage from the process until the payment has completed or has been cancelled.

Additionally, other consumers who want to make a payment to the same merchant must wait until the current transaction has completed processing. Consumers interact with the merchant sequentially and wait their turn.

This system is acceptable in traditional retail situations where one consumer is purchasing a good or service and needs the merchant to perform “check out” tasks. In such electronic payment systems, the payment transaction is first initiated by the merchant (e.g., requesting a consumer pay a certain amount). These electronic payment systems do not work well when there are multiple consumers needing to pay a single merchant at approximately the same time, or when the merchant is not able to initiate the payment process.

Conversely, in automated retail—such as vending machines—the merchant (in this case the machine) is always ready to accept payment. The consumer initiates the payment process by presenting their electronic payment credentials which can include a physical card or a mobile device. The interaction is still limited to one consumer at a time.

SUMMARY

Implementations described herein provide methods and systems for enabling electronic payments via a mobile device such that multiple consumers can initiate overlapping in-person payments to a single merchant at the same time, or substantially the same time. Moreover, in some implementations, the consumer has the option to send payment to a merchant without the merchant having to request payment first.

There are numerous use cases for such a system, some of which are currently only handled by cash payments (since existing electronic payment systems do not address the need to have multiple parties sending payments to a single merchant). One example use case involves payments to a street performer, who would traditionally put out a box, hat, or an open guitar case (collectively referred to as collection box) for audience payments. As he or she is performing, any number of audience members can drop cash into the collection box to pay the performer.

Notably, the performer (or in different contexts, a merchant) is not required to initiate the payment with each consumer and does not need to stop doing what he or she is doing. A plurality of consumers can also pay the performer/merchant without needing to wait for each transaction to finish. The transaction is asynchronous as the performer/merchant need not acknowledge the transaction before the next payment and may not acknowledge the payment at all. Methods and systems described herein allow this and similar in-person payment scenarios to be handled via electronic payments managed via mobile electronic devices associated with a merchant/performer and one or more customers.

In some embodiments, a method for performing asynchronous mobile payments at a consumer device includes: identifying a first merchant device in proximity to the consumer device based at least in part on broadcasted information transmitted by the first merchant device, wherein the broadcasted information includes a first identifier corresponding to the first merchant device; transmitting via the communications unit of the consumer device the first identifier to a server; and receiving from the server an electronic communication. In some implementations, the electronic communication includes first merchant identification information of a first merchant associated with the first merchant device, wherein the first merchant identification information includes one or more of a name, logo, picture, address, phone, or email of the first merchant; and first merchant transaction information identifying a proposed in-person transaction between the consumer device and the first merchant, wherein the first merchant transaction information includes a preset transaction amount, an available offer, or an available reward. The method further includes in some implementations displaying on the display of the consumer device the first merchant identification information; receiving from a user of the consumer device selection of the first merchant identification information; and in response to receiving the selection of the first merchant identification information: displaying the first merchant transaction information; receiving from the user of the consumer device first supplemental transaction information, wherein the first supplemental transaction information is a selection of the preset transaction amount, a selection of the available offer, a selection of the available reward, or a freeform payment amount; and transmitting the first supplemental transaction information to the server. The method further includes in some implementations receiving confirmation from the server that the proposed transaction between the consumer device and the first merchant has been completed.

In some implementations, a consumer mobile device (e.g., the mobile device 104, FIGS. 1 and 13 ) includes a display, one or more processors, and memory storing one or more programs for execution by the one or more processors, the one or more programs include instructions for performing, or controlling performance of, the operations of any of the methods described herein. In some implementations, a non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which, when executed by a mobile device (e.g., the consumer mobile device 104, FIGS. 1 and 13 ) with one or more processors and a display, cause the computing device to perform, or control performance of, the operations of any of the methods described herein. In some implementations, a consumer mobile device (e.g., the mobile device 104, FIGS. 1 and 13 ) includes means for performing, or controlling performance of, the operations of any of the methods described herein.

In some implementations, a merchant device (e.g., the retail machine 122 or merchant device 1304, FIGS. 1 and 13 ) includes a display, one or more processors, and memory storing one or more programs for execution by the one or more processors, the one or more programs include instructions for performing, or controlling performance of, the operations of any of the methods described herein. In some implementations, a non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which, when executed by a mobile device (e.g., the merchant device 122 or 1304, FIGS. 1 and 13 ) with one or more processors and a display, cause the computing device to perform, or control performance of, the operations of any of the methods described herein. In some implementations, a consumer mobile device (e.g., the merchant device 122 or 1304, FIGS. 1 and 13 ) includes means for performing, or controlling performance of, the operations of any of the methods described herein.

Various advantages of the present application are apparent in light of the descriptions below.

BRIEF DESCRIPTION OF THE DRAWINGS

The aforementioned features and advantages of the disclosed technology as well as additional features and advantages thereof will be more clearly understood hereinafter as a result of a detailed description of preferred implementations when taken in conjunction with the drawings.

To describe the technical solutions in the implementations of the present disclosed technology or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the implementations or the prior art. Apparently, the accompanying drawings in the following description show merely some implementations of the present disclosed technology, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

FIG. 1 is a block diagram of a payment processing system in accordance with some implementations.

FIG. 2 is a block diagram of a mobile device in accordance with some implementations.

FIG. 3 is a block diagram of a server system in accordance with some implementations.

FIG. 4 is a schematic block diagram of an automatic retail machine in accordance with some implementations.

FIG. 5 is a block diagram of a payment module in accordance with some implementations.

FIG. 6A is a perspective view of the payment module of FIG. 5 (e.g., an in-line dongle adapter) in accordance with some implementations.

FIG. 6B is a perspective view taken from the first end of the payment module of FIG. 6A in accordance with some implementations.

FIG. 6C is a perspective view taken from the second end of the payment module of FIG. 6A in accordance with some implementations.

FIG. 7 is a perspective view of the payment module of FIG. 6A within the automatic retail machine of FIG. 4 in accordance with some implementations.

FIG. 8 is a schematic flow diagram of a process for initiating a transaction in accordance with some implementations.

FIG. 9 is a schematic flow diagram of a process for acknowledging a transaction in accordance with some implementations.

FIG. 10A is a block diagram of an information packet broadcast by the payment module in accordance with some implementations.

FIG. 10B is a block diagram of an authorization request in accordance with some implementations.

FIG. 10C is a block diagram of an authorization grant token in accordance with some implementations.

FIG. 10D is a block diagram of transaction information generated by the payment module in accordance with some implementations.

FIGS. 11A-11G illustrate exemplary user interface for displaying promotional offers in accordance with some implementations.

FIGS. 12A-12C illustrate a flowchart diagram of a method of providing and handling promotional offers for an automatic retail machine in accordance with some implementations.

FIG. 13 is a block diagram of a payment processing system in accordance with some implementations.

FIG. 14 is a block diagram of a merchant device in accordance with some implementations.

FIGS. 15A-15B are block diagrams of a consumer device in accordance with some implementations.

FIGS. 16A-16B are block diagrams of a server system in accordance with some implementations.

FIG. 17 is a block diagram of a payment processing system in accordance with some implementations.

FIG. 18 is a block diagram of a payment processing system in accordance with some implementations.

FIG. 19 is a flow diagram of a process for asynchronously processing payments in accordance with some implementations.

FIG. 20 is a flow diagram of a process for asynchronously processing payments in accordance with some implementations.

FIG. 21 is a flow diagram of a process for asynchronously processing payments in accordance with some implementations.

FIG. 22 is a flow diagram of a process for asynchronously processing payments which, in some implementations, is a continuation of any of the processes in FIGS. 19-21 .

FIGS. 23A-23B, 24, 25A-25B and 26A-26B illustrate exemplary user interfaces for processing payments in accordance with some implementations.

Like reference numerals refer to corresponding parts throughout the several views of the drawings.

DESCRIPTION OF IMPLEMENTATIONS

Reference will now be made in detail to implementations, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the subject matter presented herein. But it will be apparent to one skilled in the art that the subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the implementations.

The following clearly and completely describes the technical solutions in the implementations of the present application with reference to the accompanying drawings in the implementations of the present application. Apparently, the described implementations are merely a part rather than all of the implementations of the present application. All other implementations obtained by persons of ordinary skill in the art based on the implementations of the present application without creative efforts shall fall within the protection scope of the present application.

FIG. 1 illustrates a payment processing system 100. FIGS. 2-5 illustrate example devices within the payment processing system 100. FIGS. 6A-6C and 7 show various views of the payment module 124 and the automatic retail machine 122. FIG. 8 illustrates a schematic flow diagram of a process 800 for initiating a transaction within the payment processing system 100. FIG. 9 illustrates a schematic flow diagram of a process 900 for acknowledging a transaction within the payment processing system 100. FIGS. 10A-10D illustrate data structures associated with initiating and performing transactions within the payment processing system 100. FIGS. 11A-11G illustrate example user interfaces for displaying promotional offers. FIGS. 12A-12C illustrate a flowchart diagram of a method 1200 of providing and handling promotional offers for an automatic retail machine. The user interfaces in FIGS. 11A-11G are used to illustrate the method in FIGS. 12A-12C.

Example Devices and Systems

FIG. 1 is a block diagram of a payment processing system 100 in accordance with some implementations. In accordance with some implementations, the payment processing system 100 includes client-side processing 102-1, 102-2 (hereinafter “client-side modules 102”) executed on a mobile device 104-1, 104-2, server-side processing 106 (hereinafter “server-side module 106”) executed on a server system 108 (sometimes also herein referred to as “the server”), and a payment module 124 coupled with an automatic retail machine 122. The client-side module 102 provides client-side functionalities for the payment processing system 100 and communications with both the server-side module 106 and the payment module 124. In some implementations, an application associated with the client-side module 102 provides a user interface to the payment processing system 100 for the mobile device 104. The client-side module 102 communicates with the server-side module 106 via a long-range communication protocol (e.g., GSM, CDMA, Wi-Fi, or the like) through one or more networks 110, and the client-side module 102 communicates with the payment module 124 via a short-range communication protocol (e.g., near-field communication (NFC), BLUETOOTH, BLUETOOTH low-energy (BLE), or the like). The server-side module 106 provides server-side functionalities for the payment processing system 100 for any number of client modules 102 each residing on a respective mobile device 104.

The payment processing system 100 harnesses the connectivity of the mobile device 104 to communicate with the payment module 124, which has neither a dedicated communication connection nor a long-range communication transceiver. As such, the mobile device 124 acts as a relay between the payment module 124 and the server system 108. Furthermore, leveraging the connectivity of the mobile device 104 helps to keep costs down from the point of view of the operator of the automatic retail machine 122.

In some implementations, the server-side module 106 includes one or more processors 112, a user information database 114, an offers database 116, and an input and output (I/O) interface to one or more clients 118. The I/O interface to one or more clients 118 facilitates the client-facing input and output processing for the server-side module 106. In some implementations, the one or more processors 112 authorize transaction requests, determine promotional offers for a particular mobile device 104, perform transaction accounting, and acknowledge completed transactions. The user information database 114 stores information for each user of the payment processing system 100 (e.g., user ID, account credentials (user name and password), transaction history, account balance, linked credit cards and bank accounts, and/or the like), and the offers database 116 stores promotional offers provided by manufacturers, distributors, retailers, and the like.

Examples of the mobile device 104 include, but are not limited to, a handheld computer, a wearable computing device, a personal digital assistant (PDA), a tablet computer, a laptop computer, a desktop computer, a cellular telephone, a smart phone, an enhanced general packet radio service (EGPRS) mobile phone, a media player, a navigation device, a game console, a television, a remote control, a point-of-sale (POS) terminal, vehicle-mounted computer, an eBook reader, or a combination of any two or more of these data processing devices or other data processing devices.

Examples of the one or more networks 110 include local area networks (LAN) and wide area networks (WAN) such as the Internet. One or more networks 110 are, optionally, implemented using any known network protocol, including various wired or wireless protocols, such as Ethernet, Universal Serial Bus (USB), FIREWIRE, Long Term Evolution (LTE), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wi-Fi, voice over Internet Protocol (VoIP), Wi-MAX, or any other suitable communication protocol.

The server system 108 is implemented on one or more standalone data processing apparatuses or a distributed network of computers. In some implementations, the server system 108 also employs various virtual devices and/or services of third party service providers (e.g., third-party cloud service providers) to provide the underlying computing resources and/or infrastructure resources of the server system 108. In some implementations, the server system 108 includes, but is not limited to, a handheld computer, a tablet computer, a laptop computer, a desktop computer, or a combination of any two or more of these data processing devices or other data processing devices.

The payment processing system 100 shown in FIG. 1 includes both a client-side portion (e.g., the client-side module 102) and a server-side portion (e.g., the server-side module 106). In some implementations, data processing is implemented as a standalone application installed on the mobile device 104. In addition, the division of functionalities between the client and server portions of the payment processing system 100 can vary in different implementations. For example, in some implementations, the client-side module 102 is a thin-client that provides only user-facing input and output processing functions, and delegates all other data processing functionalities to a backend server (e.g., the server system 108). Although many aspects of the present technology are described from the perspective of the server system 108, the corresponding actions performed by the mobile device 104 would be apparent to ones skilled in the art without any creative efforts. Furthermore, some aspects of the present technology may be performed by the server system 108, the mobile device 104, or the server system 108 and the mobile device 104 cooperatively.

FIG. 2 is a block diagram of the mobile device 104 associated with a user in accordance with some implementations. The mobile device 104, typically, includes one or more processing units (CPUs) 202, two or more communication devices 204, memory 206, and one or more communication buses 208 for interconnecting these components (sometimes called a chipset). The two or more communication devices 204 include a first transceiver associated with a short-range communication protocol (e.g., NFC, BLE, or the like) and a second transceiver associated with a long-range communication protocol (e.g., GSM, CDMA, Wi-Fi, or the like). The mobile device 104 also includes a user interface 210. The user interface 210 includes one or more output devices 212 that enable presentation of media content (e.g., text, images, audio, video, etc.), including one or more speakers and/or one or more visual displays. The user interface 210 also includes one or more input devices 214, including user interface components that facilitate user input such as a keyboard, a mouse, a voice-command input unit or microphone, a touch screen display, a touch-sensitive input pad, a gesture capturing camera, or other input buttons or controls. Furthermore, in some implementations, the mobile device 104 uses a microphone and voice recognition or a camera and gesture recognition to supplement or replace the keyboard. In some implementations, the mobile device 104 optionally includes one or more sensors 215, which provide context information as to the current state of the mobile device 104 or the environmental conditions associated with mobile device 104. The one or more sensors 215 include, but are not limited, to one or more microphones, one or more cameras, an ambient light sensor, one or more accelerometers, one or more gyroscopes, a temperature sensor, one or more motion sensors, one or more biometric/biological sensors, and so on. In some implementations, the mobile device 104 optionally includes a location detection device 217, such as a GPS (global positioning satellite) or other geo-location receiver, for determining the location of the mobile device 104.

The memory 206 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. The memory 206, optionally, includes one or more storage devices remotely located from the one or more processing units 202. The memory 206, or alternatively the non-volatile memory within the memory 206, includes a non-transitory computer readable storage medium. In some implementations, the memory 206, or the non-transitory computer readable storage medium of the memory 206, stores the following programs, modules, and data structures, or a subset or superset thereof:

-   -   operating system 216 including procedures for handling various         basic system services and for performing hardware dependent         tasks;     -   communication module 218 for transmitting signals to and         receiving signals from other devices (e.g., the server system         108 and the payment module 124) via the two or more         communication devices 204;     -   presentation module 220 for enabling presentation of information         (e.g., a user interface for the application(s) 226 or the         application associated with client-side module 102, widgets,         websites and web pages thereof, and/or games, audio and/or video         content, text, etc.) at the mobile device 104 via one or more         output devices 212 (e.g., displays, speakers, etc.) associated         with the user interface 210;     -   input processing module 222 for detecting one or more user         inputs or interactions from the one or more input devices 214         and interpreting the detected inputs or interactions;     -   web browser module 224 for navigating, requesting (e.g., via         HTTP), and displaying websites and web pages thereof,     -   one or more applications 226 for execution by the mobile device         104 (e.g., games, application marketplaces, payment platforms,         and/or other web or non-web based applications);     -   client-side module 102, which provides client-side data         processing and functionalities for the payment processing system         100, including but not limited to:         -   broadcast obtaining module 230 for receiving, via the first             transceiver, an information packet broadcast by a respective             payment module 124, where the information packet at least             includes a unique identifier corresponding to the respective             payment module 124 (i.e., the device ID) and an             authorization code for initiating a transaction with an             automatic retail machine 122 to which the respective payment             module 124 is coupled;         -   transaction authorization module 232 for: sending, via the             second transceiver, a transaction authorization request to             the server system 108 including the authorization code;             receiving, via the second transceiver, an authorization             grant token from the server system 108, including the             authorization code, for initiating a transaction with the             automatic retail machine 122 to which the respective payment             module 124 is coupled; and storing the received             authorization grant token (e.g., in the user data 264);         -   offer(s) module 234 for: obtaining (i.e., receiving or             retrieving), via the second transceiver, promotional offers             from the server system 108 (e.g., in response to sending the             transaction authorization request, as part of an update to             the application associated with the client-side module 102,             or at another time); storing the promotional offers obtained             from the server system in the offers database 266;             optionally determining one or more promotional offers based             on one or more of a plurality of factors (e.g., the device             ID, user ID and history, current location of the mobile             device 104, current time/date, and/or the like); presenting             one or more promotional offers to the user of the mobile             device via the one or more output devices 212 (e.g., a             display); and detecting a user input selecting a respective             one of the one or more promotional offers presented to the             user of the mobile device 104;         -   trigger detecting module 236 for detecting a trigger to             initiate a transaction with the automatic retail machine 122             to which the respective payment module 124 is coupled (e.g.,             the trigger is a gesture or other user input by the user of             the mobile device 104, entrance of the mobile device 104             into a payment zone based on the RSSI observed from the             payment module 124, selection of the respective promotional             offer, or the like);         -   transaction initiating module 238 for initiating a             transaction with the automatic retail machine 122 coupled             with the respective payment module 124 by sending, via the             first transceiver, the stored authorization grant token to             the respective payment module 124;         -   transaction completion notification receiving module 240 for             receiving, via the first transceiver, a transaction             completion notification from the payment module 124, where             the transaction completion notification includes one or more             of: transaction status information (e.g., indicating whether             the transaction with the automatic retail machine 122 was             successful, aborted, or failed); transaction detail             information (e.g., the authorization code, the amount of the             transaction, the good/product associated with the             transaction, the time/date the transaction was completed,             transaction error information, and/or the like); and             optionally includes other miscellaneous information             regarding the respective payment module 124 and/or the             automatic retail machine 122 to which the respective payment             module 124 is coupled, such as interrupted transaction             information, status flags, inventory information, past hard             currency transaction information, other cashless transaction             information, and/or the like;         -   product code processing module 242 for: providing a prompt             to the user of the mobile device 104 via the one or more             output devices 212 to obtain a product code for a vended             product to validate the respective promotional offer;             obtaining the product code for the vended product (e.g., the             user of the mobile device 104 manually inputs the product             code, the user of the mobile device 104 captures an image of             the vended product from which the product code is extracted,             the user of the mobile device 104 uses a scanner plug-in of             the application associated with the client-side module 102             to obtain the product code, or the like); and either             validating the product code or sending, via the second             transceiver, the obtained product code to the server system             108 for validation;         -   information relaying module 244 for transmitting, via the             second transceiver, information from the payment module 124             to the server system 108 (e.g., the transaction status             information, the transaction detail information, the other             miscellaneous information regarding the respective payment             module 124 and/or the automatic retail machine 122 to which             the respective payment module 124 is coupled, and/or the             like);         -   offer validation module 246 for: receiving, via the second             transceiver, promotion validation information from the             server system 108; and presenting the promotion validation             information to the user of the mobile device via the one or             more output devices 212 (e.g., the display);         -   acknowledgment module 248 for sending, via the first             transceiver, acknowledgment information to the payment             module 124, where the acknowledgment information             acknowledges that the server system 108 received and             processed the transaction status information and the             transaction detail information; and         -   asynchronous payment module 250, which provides             consumer-side payment functionalities for the payment             processing system 1300, described in more detail with             reference to FIG. 15A below.     -   client data 260 storing data associated with the payment         processing system 100, including, but is not limited to:         -   user profile 262 storing information for the user of the             mobile device 104, including but not limited to: a unique             user identifier (i.e., a user ID), login credentials (i.e.,             user name or handle and password), transaction history,             payment data (e.g., account balance, linked credit card or             bank information, app credit or gift card balance, billing             address, shipping address, etc.), contact information (e.g.,             email address, phone number, etc.), custom parameters for             the user (e.g., age, location, hobbies, etc.), identified             trends and/or likes/dislikes of the user, and/or the like;         -   user data 264 storing transaction history information,             authorization grant tokens, and/or the like;         -   offers database 266 storing promotional offers provided by             manufacturers, distributors, retailers, and/or the like; and         -   asynchronous payment data 270, for storing merchant             identification information and payment amounts, described in             more detail with reference to FIG. 15B below.

Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, modules or data structures, and thus various subsets of these modules may be combined or otherwise re-arranged in various implementations. In some implementations, the memory 206, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 206, optionally, stores additional modules and data structures not described above.

FIG. 3 is a block diagram illustrating the server system 108 in accordance with some implementations. The server system 108, typically, includes one or more processing units (CPUs) 112, one or more communication devices 304 (e.g., including the I/O interface to one or more clients 118), memory 306, and one or more communication buses 308 for interconnecting these components (sometimes called a chipset). The memory 306 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. The memory 306, optionally, includes one or more storage devices remotely located from the one or more processing units 112. The memory 306, or alternatively the non-volatile memory within the memory 306, includes a non-transitory computer readable storage medium. In some implementations, the memory 306, or the non-transitory computer readable storage medium of the memory 306, stores the following programs, modules, and data structures, or a subset or superset thereof:

-   -   operating system 310 including procedures for handling various         basic system services and for performing hardware dependent         tasks;     -   network communication module 312 for transmitting signals to and         receiving signals from mobile devices 104 via the one or more         communication devices 304;     -   server-side module 106, which provides server-side data         processing and functionalities for the payment processing system         100, including but not limited to:         -   transaction authorization module 314 for: receiving a             transaction request from a respective mobile device 104,             where the transaction request includes a device ID             associated with a respective payment module 124 and an             authorization code; and validating the transaction request;         -   encryption/decryption module 316 for: identifying an             encryption/decryption key linked to the device ID for the             respective payment module 124; decrypting the authorization             code with the identified encryption/decryption key; and             encrypting the authorization grant token with the identified             encryption/decryption key;         -   offer determining module 318 for determining one or more             promotional offers based on one or more of a plurality of             factors (e.g., the device ID included in the transaction             request, the user ID and history associated with the user of             the respective mobile device 104, current location of the             respective mobile device 104, current time/date, and/or the             like);         -   transmitting module 320 for: transmitting, in accordance             with a determination that the transaction request is             validated, an authorization grant token and the one or more             promotional offers to the respective mobile device 104; and             transmitting acknowledgment information once a transaction             is completed to the respective mobile device 104;         -   receiving module 322 for receiving information from the             respective mobile device 104, including but not limited to:             a product code and a corresponding selected promotional             offer, the transaction status information for a respective             transaction, the transaction detail information for the             respective transaction, and/or the other miscellaneous             information;         -   offer validation module 324 for: validating a promotional             offer based on a received product code, transaction status             information, and/or transaction detail information; and             sending, in accordance with a determination that the             promotional offer is validated, promotion validation             information to the respective mobile device 104;         -   accounting module 326 for debiting an account balance or             charging a linked credit card or bank account according to             the transaction detail information;         -   acknowledgment module 328 for sending acknowledgment             information to the respective mobile device 104 for relay to             the respective payment module 124; and         -   asynchronous transactions module 350, which provides             server-side payment functionalities for the payment             processing system 1300, described in more detail with             reference to FIG. 16A below; and     -   server data 340 storing data for the payment processing system         100, including but not limited to:         -   user information database 114 storing stores information for             each user of the payment processing system 100, including             but not limited to: a unique user identifier (i.e., a user             ID), login credentials (i.e., user name or handle and             password), transaction history, payment data (e.g., account             balance, linked credit card or bank information, app credit             or gift card balance, billing address, shipping address,             etc.), contact information (e.g., email address, phone             number, etc.), custom parameters for the user (e.g., age,             location, hobbies, etc.), identified trends and/or             likes/dislikes of the user, and/or the like;         -   offers database 116 storing promotional offers provided by             manufacturers, distributors, retailers, and/or the like;         -   payment module database 342 storing information for each             payment module 124 of the payment processing system 100,             including but not limited to: a unique payment module             identifier (i.e., a device ID), an encryption/decryption             key, and/or the like; and         -   asynchronous transactions data 360, for storing merchant             details and transaction information, described in more             detail with reference to FIG. 16B below.

Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various implementations. In some implementations, the memory 306, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 306, optionally, stores additional modules and data structures not described above.

In some implementations, at least some of the functions of the server system 108 are performed by the mobile device 104, and the corresponding sub-modules of these functions may be located within the mobile device 104 rather than the server system 108. In some implementations, at least some of the functions of mobile device 104 are performed by the server system 108, and the corresponding sub-modules of these functions may be located within the server system 108 rather than the mobile device 104. The mobile device 104 and the server system 108 shown in FIGS. 2-3 , respectively, are merely illustrative, and different configurations of the modules for implementing the functions described herein are possible in various implementations.

FIG. 4 is a schematic block diagram illustrating the automatic retail machine 122 in accordance with some implementations. For example, the automatic retail machine 122 is a vending machine or kiosk that dispenses an item or product (e.g., snacks, other foodstuffs, school supplies, drinks, tickets, and the like) in response to user payment for and selection of the item or product. The automatic retail machine 122 includes: a controller 402; a power supply 404; memory 406; a user interface 408; one or more optional sensors 414; a multi-drop bus (MDB) 416; and a dispenser 424.

In some implementations, the controller 402 is a microcontroller, microprocessor, CPU, FPGA, ASIC, or the like that manages the functions of the automatic retail machine 122. The power supply 404 is a connection to an external power source (e.g., AC or DC) or a connection to an internal power source (e.g., a battery). In some implementations, the power supply 404 further includes one or more of a power converter and/or inverter, a rectifier, a power conditioner, or the like for providing power to the various components of the automatic retail machine 122. The memory 406 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. In some implementations, the memory 406 stores an operating system and instructions for carrying out the functions and processes of the automatic retail machine 122 (e.g., dispensing items, tracking inventory, temperature control, power control, and the like). In some implementations, the memory 406 also stores configuration data and DEX (data exchange) data corresponding to the inventory of the automatic retail machine 122 and transactions performed with the automatic retail machine 122.

The user interface 408 includes one or more output devices 410 that enable presentation of information (e.g., text, images, audio, video, etc.), for example, one or more speakers and/or one or more visual displays. The user interface 408 also includes one or more input devices 412, including user interface components that facilitate user input and selection of items such as a microphone, a keypad, a touch screen display, a gesture capturing camera, or other input buttons or controls. The one or more optional sensors 414 include, but are not limited, to one or more microphones, one or more cameras, an ambient light sensor, one or more accelerometers, one or more gyroscopes, a temperature sensor, one or more motion sensors, one or more biometric/biological sensors, and so on.

In some implementations, a variety of payment devices are coupled with the MDB 416 including any combination of one or more cashless payment devices 418 (e.g., credit card reader(s)) for accepting cashless payments, one or more bill validators 420 for accepting and validating bills, and one or more coin accepters 422 for accepting coins and providing change. In some implementations, the dispenser 424 is an electromechanical system (e.g., motors, actuators, and the like) for dispensing or vending items or products stocked by the automatic retail machine. 122 For example, a user inserts a bill into the bill validator(s) 420 and is credited with an amount of money equal to the bill. Continuing with this example, the one or more output devices 410 (e.g., a display) shows the credited amount, and the user selects an item via the one or more input devices 412 (e.g., using a keypad or a sequence of button presses). Subsequently, the controller 402 sends signals to the dispenser 424 to dispense the selected product, and the dispenser dispenses or vends the selected product.

FIG. 5 is a block diagram illustrating the payment module 124 in accordance with some implementations. In some implementations, the payment module 124 is an in-line adapter dongle with male and female connectors that couples with the multi-drop bus (MDB) of the respective automatic retail machine 122 as shown in FIGS. 6B-6C and 7 . For example, the payment module is connected in-line into the MDB 416 in FIG. 4 . The payment module 124, typically, includes one or more processing units (CPUs) 512, a communication device 504 (e.g., a transceiver associated with a short-range communication protocol such as NFC, BLE, or the like), memory 506, and one or more communication buses 508 for interconnecting these components (sometimes called a chipset). The memory 506 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. The memory 506, optionally, includes one or more storage devices remotely located from one or more processing units 512. The memory 506, or alternatively the non-volatile memory within the memory 506, includes a non-transitory computer readable storage medium. In some implementations, the memory 506, or the non-transitory computer readable storage medium of the memory 506, stores the following programs, modules, and data structures, or a subset or superset thereof:

-   -   operating system 510 including procedures for handling various         basic system services and for performing hardware dependent         tasks;     -   communication module 512 for transmitting signals to and         receiving signals from mobile devices 104 via the communication         device 504;     -   transaction-processing module 514, including but not limited to:         -   broadcasting module 516 for: broadcasting an information             packet to zero or more client devices 104 within the             communication zone of the payment module 124 (i.e., BLE             range), where the information packet at least includes a             unique identifier corresponding to the payment module 124             (e.g., the device ID) and an authorization code for             initiating a transaction with the automatic retail machine             122 to which the payment module 124 is coupled; and storing             broadcast authorization codes in authorization database 532;         -   encryption/decryption module 518 for: encrypting the             authorization code with an encryption/decryption key that             corresponds to the payment module 124; and decrypting the             authorization grant token with the encryption/decryption             key;         -   transaction sniffing module 520 for: detecting signals             associated with hard currency transactions and/or other             cashless transactions not associated with the payment             processing system 100 (e.g., credit card transactions); and             storing information associated with said hard currency             transactions and/or other cashless transactions (e.g., in             the other information database 536);         -   validating module 522 for validating a transaction by             checking the authorization code from the decrypted             authorization grant token against previously broadcast             authorization codes stored in the authorization database             532;         -   transaction processing module 524 for: causing, in             accordance with a determination that the transaction is             validated, the automatic retail machine 122 to vend a             product or perform a service; and storing transaction detail             information in the transaction database 534; and         -   acknowledgement module 526 for deleting transaction detail             information from the transaction database 534 in accordance             with a determination that the corresponding transaction is             acknowledged by the server system 108; and     -   data 530 storing data, including but not limited to:         -   authorization database 532 storing previously broadcast             authorization codes;         -   transaction database 534 storing transaction detail             information for transactions processed by the payment module             124; and         -   other information database 536 storing miscellaneous             information regarding the payment module 124 and/or the             automatic retail machine 122 coupled with the payment module             124 such as status flags, inventory information, past hard             currency transaction information, other cashless transaction             information, and/or the like.

Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various implementations. In some implementations, the memory 506, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 506, optionally, stores additional modules and data structures not described above.

FIGS. 6A-6C show various views of the payment module 124 of FIG. 5 in accordance with some implementations. The payment module 124 is a relatively low cost hardware component that is pre-configured to work with the industry standard multi-drop bus (MDB). On machines without MDB technology, the payment module 124 can be configured or designed to work with other serial protocols or activate a switch (e.g., a cherry switch mechanism). For example, see U.S. patent application Ser. No. 14/458,192, entitled “Method and System for Retrofitting an Offline-Payment Operated Machine to Accept Electronic Payments,” which is incorporated by reference in its entirety. In essence, the payment module 124 simulates establishing payment on the automatic retail machine 122 in much the same manner as other alternative forms of payment (e.g., cash).

The payment module 124 is preferably designed to be used as an adapter dongle for in-line insertion within, for example, the MDB of the automatic retail machine 122 (e.g., a vending machine). The wire used in MDB technology uses male and female connection ends or adapters to allow the attachment of peripherals. In the case of a vending machine, the MDB with connection ends or adapters would be present to allow the attachment of a payment receiving mechanism (e.g., a coin mechanism). The MDB male and female adapters 612, 614 of the MDB may be separated (as shown in FIGS. 6B-6C). The payment module 124 in FIGS. 6A-6C has a male adapter 602 and a female adapter 604. The payment module 124 may be plugged (inserted) in serial (“in-line”) with the MDB. For example, the MDB female adapter 614 may be connected to the male adapter 602 of the payment module 124, and the MDB male adapter 612 may be connected to the female adapter 604 of the payment module 124. The resulting in-line configuration is shown in FIG. 7 . It should be noted that the payment module 124 is designed to allow pass-through communications so that if the mobile-device-to-machine payment processing system is not enabled (e.g., for a particular purchase or simply turned off) the MDB functions as though the payment module 124 is not there and the automatic retail machine 122 can function normally. In FIG. 7 , the automatic retail machine 122 includes a display 722 showing user selections, current credit, and the like. In FIG. 7 , the automatic retail machine 122 also includes a touch-screen display 724 and buttons 726 for selecting a product.

User Interfaces and Related Processes

FIG. 8 is a schematic flow diagram of a process 800 for authenticating a user to perform a transaction in the payment processing system 100 in accordance with some implementations. In some implementations, the payment processing system 100 includes one or more payment modules 124 (e.g., each associated with a respective automatic retail machine 122 such a vending machine for dispensing goods and/or services), one or more mobile devices 104, and the server 108. Each of the one or more mobile devices 104 executes an instance of the client-side module 102 (e.g., as an application) as a foreground or background process to access and communicate with other devices (e.g., the server 108 and the payment modules 124) in the payment processing system 100. The server 108 manages the payment processing system 100 and, in some cases, is associated with an entity that supplies, operates, and/or manufactures the one or more payment modules 124. For brevity, the process 800 will be described with respect to a respective payment module 124 and a respective mobile device 104 within the payment processing system 100.

The payment module 124 broadcasts (802), via a short-range communication capability (e.g., BLE), an information packet. The information packet at least includes an authorization code and a unique identifier associated with the payment module 124 (i.e., the device ID). In some implementations, the information packet further includes a current firmware version of the payment module 124 and one or more status flags corresponding to one or more states of the payment module 124 and/or the automatic retail machine 122. The information packet is further discussed below with reference to FIG. 10A.

In some implementations, the payment module 124 sends out a unique authorization code every X seconds (e.g., 100 ms, 200 ms, 500 ms, etc.). In some implementations, the unique authorization codes are randomly or pseudo-randomly generated numbers. In some implementations, the payment module 124 initializes a random number and then the authorization codes are sequential counts from this random number. In such implementations, the payment module 124 stores the earliest valid (unexpired) counter without a need to store every valid authorization code. In some implementations, the authentication code included in the broadcast information packet is a hash value of the randomly or pseudo-randomly generated number or the sequential number.

In some implementations, the payment module 124 stores broadcast authorization codes (e.g., in authorization database 542, FIG. 5 ) until a received authorization grant token matches one of the stored authorization codes and subsequently deletes the matching authorization code. In some implementations, the broadcast authorization codes are one-time use codes whereby a broadcast authorization code may only be used by one mobile device 104 before it is invalidated and/or deleted to prevent re-play attacks. In some implementations, the payment module 124 stores previously broadcast authorization codes for a predetermined amount of time (e.g., Y minutes) after which time an authorization code expires and is deleted. In some implementations, the authorization code is encrypted with a shared secret key known by the server system 108 but unique to the payment module 124.

The mobile device 104 receives the broadcast information packet, and the mobile device 104 sends (804), via a long-range communication capability (e.g., GSM, CDMA, Wi-Fi, or the like), an authorization request to the server system 108. For example, an application associated with the client-side module 102 is executed as a foreground or background process on the mobile device 104. The application is used for accessing the payment processing system 100. In this example, the application receives the broadcast information packet when the mobile device 104 is within the communication zone of the payment module 124 (i.e., BLE range) and either automatically sends the authorization request to the server system 108 or sends the authorization request to the server system 108 when the mobile device 104 is within the authorization zone of the payment module 124.

In some implementations, the broadcast information packet includes a baseline authorization zone threshold (i.e., an authorization zone criterion) indicating a baseline received signal strength indication (RSSI) that the mobile device 104 (or the application associated with the client-side module 102) is required to observe from the payment module 124 before being within the authorization zone of the payment module 124. In some implementations, the mobile device 104 (or the application associated with the client-side module 102) offsets the baseline authorization zone threshold based on the reception strength its short-range communication capability (e.g., BLE radio/transceiver) and/or other similar factors. In some implementations, the authorization request at least includes the authorization code which was included in the broadcast information packet, an identifier associated with the user of the mobile device 104 or the user account under which the user of the mobile device 104 is logged into the application (i.e., user ID), and the identifier associated with the payment module 124 (i.e., device ID). In some implementations, the authentication code included in the authorization request is a hash value in cleartext. The authorization request is further discussed below with reference to FIG. 10B.

After receiving the authorization request, the server system 108 processes (806) the authorization request. In some implementations, the server system 108 identifies a shared secret key based on the device ID and decrypts the authorization code included in the authorization request with the identified shared secret key. The server system 108 determines whether the user associated with the user ID in the authorization request has sufficient funds in his/her account for the payment processing system to perform a transaction at the automatic retail machine 122 to which the payment module 124 corresponding to the device ID is coupled.

The server system 108 sends (808), via a long-range communication capability (e.g., GSM, CDMA, Wi-Fi, or the like), an authorization grant token to the mobile device 104. In some implementations, the server system 108 does not send the authorization grant token if the authorization code in the authorization request cannot be decrypted with the shared secret key corresponding to the payment module 124 (e.g., the authorization code is corrupted or hacked). In some implementations, the server system 108 does not send the authorization grant token if the user associated with the user ID in the authorization request does not have sufficient funds in his/her account or has exceeded a predefined daily limit. In some implementations, in addition to the authorization grant token (or lack thereof if the authorization is declined), the server system 108 sends a message directly to the mobile device 104 which is not encrypted with the shared secret key corresponding to the payment module 124. After receiving the message, the mobile device 104 displays an appropriate message to the user such as sufficient funds, transaction authorized, insufficient balance, or declined authorization. In some implementations, the server system 108 sends an authorization grant token for an amount equal to zero; in which case, the payment module 124 interprets this as a declined or failed authorization which can result for any number of reasons including, but not limited to, insufficient balance or credit. In some implementations, the mobile device 104 stores the authorization grant token (e.g., in the user data 264) until a trigger condition is detected.

The mobile device 104 receives the authorization grant token, and, subsequently, the mobile device 104 detects (810) a trigger condition. In some implementations, the mobile device 104 (or the application) detects the trigger condition via the hand-free mode (e.g., upon entrance into the payment zone of the payment module 124) or manual mode (e.g., interacting with the user interface of the application to initiate a transaction with the payment accepting unit associated with the payment module 124).

In some implementations, the trigger condition is satisfied when the mobile device 104 detects a user input on the user interface displayed by the mobile device 104. For example, with reference to FIG. 11A, a transaction is initiated between the user of the mobile device 104 and the 8th floor snack machine when the mobile device 104 detects an upward swipe gesture originating from region 1120 of the user interface 1108. In another example, with reference to FIG. 11D, a transaction is initiated between the user of the mobile device 104 and the 8th floor snack machine when the mobile device 104 detects selection of Offer A 1152 with contact 1166.

In some implementations, the trigger condition is satisfied when the mobile device 104 observes an RSSI from a respective automatic retail machine that is greater than or equal to the payment zone criterion. For example, once the mobile device 104 is within the payment zone, a transaction between the respective automatic retail machine and the user of the mobile device 104 is automatically initiated. In some implementations, after the RSSI observed from the respective retail machine is greater than or equal to the payment zone criterion, the mobile device 104 prompts the user to provide a transaction confirmation, which when detected serves to satisfy the trigger condition. For example, once the mobile device 104 is within the payment zone, the mobile device 104 provides a prompts to the user, such as an audible prompt, displayed notification, or vibration, to confirm his/her intention to initiate a transaction with the respective retail machine. Continuing with this example, the user may confirm his/her intention to initiate the transaction with the respective retail machine by flicking the mobile device 104 towards the automatic retail machine, shaking the mobile device, providing an audible command, or performing a touch input/gesture on the displayed user interface.

In some implementations, unused authorization grants (e.g., if there was no trigger condition or it expired) are canceled by the mobile device 104 by sending a cancellation message to the server system 108 corresponding to the unused authorization grant. In some implementations, the server system 108 denies or limits the number of authorization grants sent to the mobile device 104 until it has received transaction information or cancellation of authorization outstanding authorization grants sent to the mobile device 104.

In response to detecting the trigger condition, the mobile device 104 sends (812), via the short-range communication capability (e.g., BLE), the authorization grant token to the payment module 124. Subsequently, the automatic retail machine 122 displays credit to the user (e.g., via one of the displays 722 or 724 shown in FIG. 7 ) and the user interacts with the input mechanisms of the automatic retail machine 122 (e.g., via the buttons 726 or a touch screen display 724 shown in FIG. 7 ) to purchase products and/or services.

It should be understood that the particular order in which the process in FIG. 8 has been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods and/or processes described herein (e.g., the process 900 and the method 1200) are also applicable in an analogous manner to the process 800 described above with respect to FIG. 8 .

FIG. 9 is a schematic flow diagram of a process 900 for processing acknowledgment information in the payment processing system 100 in accordance with some implementations. In some implementations, the payment processing system 100 includes one or more payment modules 124 (e.g., each associated with a respective automatic retail machine 122 such a vending machine for dispensing goods and/or services), one or more mobile devices 104, and the server 108. Each of the one or more mobile devices 104 executes an instance of the client-side module 102 (e.g., as an application) as a foreground or background process to access and communicate with other devices (e.g., the server 108 and the payment modules 124) in the payment processing system 100. The server 108 manages the payment processing system 100 and, in some cases, is associated with an entity that supplies, operates, and/or manufactures the one or more payment modules 124. For brevity, the process 900 will be described with respect to a respective payment module 124 coupled with a respective automatic retail machine 122 and a respective mobile device 104 in the payment processing system 100. In the process 900, the payment module 124 receives first acknowledgment information for a first transaction via the mobile device 104 that initiated the first transaction.

The payment module 124 obtains (902) a first notification indicating completion of a first transaction from the automatic retail machine 122. For example, after the process 800 in FIG. 8 , the user of the mobile device 104 selects a product to purchase from the automatic retail machine 122 by interacting with one or more input mechanisms of the automatic retail machine 122 (e.g., he buttons 726 or a touch screen display 724 shown in FIG. 7 ), and the automatic retail machine 122 dispenses the selected product. Continuing with this example, after the product is dispensed, the transaction is complete and the payment module 124 obtains a notification from the machine of the completed transaction. In some implementations, the notification includes the amount of the transaction and (optionally) machine status information associated with the automatic retail machine 122 such as inventory information as to one or more products of the automatic retail machine 122 and/or the like.

After obtaining the first notification, the payment module 124 generates (904) first transaction information based on the first notification, and the payment module 124 stores the first transaction information. In some implementations, the transaction information includes a transaction ID for the first transaction, a device ID corresponding to the payment module 124, a user ID corresponding to the mobile device 104, transaction status information indicating that the first transaction is complete, and the transaction amount indicated by the first notification. In some implementations, the payment module 124 retains the authorization code included in the original broadcasted packet and/or the authorization grant token and includes the authorization code in the first transaction information. In some implementations, the authorization code is encrypted with a secret key corresponding to the payment module 124, which is shared with the server system 108 but not the mobile device 104. In some implementations, the first transaction information further includes other information such as the machine status information included in the first notification or transaction information corresponding to previous interrupted transaction(s). See FIG. 10D and the accompanying text for further discussion regarding the transaction information 1050.

The payment module 124 sends (906), via a short-range communication capability (e.g., BLE), the first transaction information to the mobile device 104.

The mobile device 104 sends (908), via a long-range communication capability (e.g., GSM, CDMA, Wi-Fi, or the like), the first transaction information to the server system 108.

The server system 108 processes (910) the first transaction information. For example, the server system 108 debits the account of the user associated with the user ID in the first transaction information in the amount indicated by the first transaction information.

The server system 108 sends (912), via a long-range communication capability (e.g., GSM, CDMA, Wi-Fi, or the like), first acknowledgment information to the mobile device 104. In some implementations, the first acknowledgment information acknowledges that the server system 108 received the first transaction information. In some implementations, the first acknowledgment information includes the user ID, the device ID, the transaction ID, and (optionally) the authorization grant included in the transaction information (e.g., the authorization code 1058, FIG. 10D).

After receiving the first acknowledgement information, the mobile device 104 sends (914), via a short-range communication capability (e.g., BLE), the first acknowledgment information to the payment module 124.

After receiving the first acknowledgment information, the payment module 124 deletes (916) the stored first transaction information.

It should be understood that the particular order in which the process in FIG. 9 has been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods and/or processes described herein (e.g., the process 800 and the method 1200) are also applicable in an analogous manner to the process 900 described above with respect to FIG. 9 .

FIG. 10A is a block diagram of an information packet 1000 broadcast by the payment module 124 (e.g., in step 802 of the process 800 in FIG. 8 ) in accordance with some implementations. In some implementations, the information packet 1000 at least includes: device ID 1002 and authorization code 1004. In some implementations, the information packet 1000 additionally includes: a current firmware version 1006; one or more status flags 1008; and zone criteria information 1010.

In some implementations, the device ID 1002 is a unique identifier corresponding to the payment module 124 that broadcast the information packet 1000.

In some implementations, the authorization code 1004 is a hash value in cleartext. In some implementations, the payment module 124 randomly or pseudo-randomly generates a number or determines a sequential number (See step 802 of the process 800 in FIG. 8 ) and performs a predetermined hash function (e.g., SHA-256) on the number to produce the hash value as the authorization code 1004. In some implementations, the authorization code 1004 is a unique code that is encrypted with a secret encryption key corresponding to the payment module 124. The secret encryption key is shared with the server system 108, which enables the server system 108 to decrypt the authorization code 1004 and encrypt the authorization grant token but not the mobile device 104. In some implementations, the encryption between server system 108 and payment module 124 is accomplished by two pairs of public/private keys.

In some implementations, the firmware version information 1006 identifies a current firmware version 1012 of the payment module 124. In some implementations, the firmware version information 1006 also includes update status information 1014 indicating one or more packets received by the payment module 124 to update the firmware or one or more packets needed by the payment module 124 to update the firmware.

In some implementations, the one or more status flags 1008 indicate a state of the payment module 124 and/or the automatic retail machine 122 to which the payment module 124 is coupled. In some implementations, the one or more status flags 1008 indicate a state of the payment module 124 such upload information indicator 1016 indicating that that the payment module 124 has information to be uploaded to the server system 108 (e.g., transaction information for one or more interrupted transactions). In some implementations, upload information indicator 1016 triggers the mobile device 104 to connect to payment module 124 immediately (e.g., if it has interrupted transaction information to be uploaded to the server system 108). In some implementations, the one or more status flags 1008 indicate a state of the automatic retail machine 122 including one or more of an error indicator 1018 (e.g., indicating that a bill and/or coin acceptor of the automatic retail machine 122 is experiencing a jam, error code, or malfunction), a currency level indicator 1020 (e.g., indicating that the level of the bill and/or coin acceptor reservoir of the automatic retail machine 122 is full or empty), and/or inventory level(s) indicator 1022 (e.g., indicating that one or more products of the automatic retail machine 122). In some implementations, the one or more status flags 1008 are error codes issued by the automatic retail machine 122 over the MDB.

In some implementations, the zone criteria information 1010 specifies an authorization zone criterion 1024 (e.g., a baseline authorization zone threshold indicating a baseline RSSI that the mobile device 104 (or the application) is required to observe before being within the authorization zone of the payment module 124) and/or a payment zone criterion 1026 (e.g., a baseline payment zone threshold indicating a baseline RSSI that the mobile device 104 (or the application) is required to observe before being within the payment zone of the payment module 124). In some implementations, the baseline authorization zone threshold and the baseline payment zone threshold are default values determined by the server system 108 or stored as variables by the application, in which case the authorization zone criterion 1024 and payment zone criterion 1026 are offsets to compensate for the strength and/or reception of the short-range communication capability (e.g., BLE radio/transceiver) of the payment module 124. Alternatively, zone criteria information 1010 includes a spread between the baseline authorization zone threshold and the baseline payment zone threshold. Thus, the mobile device 104 (or the application) determines the baseline authorization zone threshold and the baseline payment zone threshold based on the spread value and a default value for either the baseline authorization zone threshold or the baseline payment zone threshold. For example, the spread indicates −10 db and the default baseline payment zone threshold is −90 db; thus, the baseline authorization zone threshold is −80 db. Continuing with this example, after determining the baseline authorization zone threshold and the baseline payment zone threshold, the mobile device 104 (or the application) may further adjust the authorization zone threshold and/or the payment zone threshold based on the strength and/or reception of its short-range communication capability (i.e., BLE radio/transceiver).

FIG. 10B is a block diagram of an authorization request 1030 sent by the mobile device 104 to the system server 108 (e.g., in step 804 of the process 800 in FIG. 8 ) in accordance with some implementations. In some implementations, the authorization request 1030 at least includes: a device ID 1002; a user ID 1034; and an authorization code 1004.

In some implementations, the device ID 1002 is a unique identifier corresponding to the payment module 124 that broadcast the information packet 1000 that included the authorization code 1004.

In some implementations, the user ID 1034 is a unique identifier associated with the user of the mobile device 104 sending the authorization request 1030 to the server system 108. In some implementations, the user ID 1034 is associated with the user account under which the user of the mobile device 104 is logged into the application.

In some implementations, the authorization code 1030 is the authorization code 1004 included in the information packet 1000 of that was broadcast by the payment module 124.

FIG. 10C is a block diagram of an authorization grant token 1040 sent by the server system 108 to the mobile device 104 (e.g., in step 808 of the process 800 in FIG. 8 ) in accordance with some implementations. In some implementations, in accordance with a determination that the authorization code 1036 included in the authorization request 1030 from the mobile device 104 is valid and that the user associated with the mobile device 104 has sufficient funds in his/her account for the payment processing system, the server system 108 generates the authorization grant token 1040. In some implementations, the authorization grant token 1040 at least includes: a device ID 1002; a user ID 1034; an authorized amount 1046; (optionally) an expiration period 1048; and (optionally) the authorization code 1004. In some implementations, the authorization grant token 1040 is encrypted with the shared secret key corresponding to the payment module 124.

In some implementations, the device ID 1002 is a unique identifier corresponding to the payment module 124 that broadcast the information packet 1000 that included the authorization code 1004.

In some implementations, the user ID 1034 is a unique identifier associated with the user of the mobile device 104 that sent the authorization request 1030 to the server system 108.

In some implementations, the authorized amount 1046 indicates a maximum amount for which the user of the mobile device 104 is authorized to perform transaction(s) using the authorization grant token 1140. For example, the authorized amount 1046 is predefined by the user of the mobile device 104 or by the server system 108 based on a daily limit or based on the user's total account balance or based on a risk profile of the user associated with the user ID 1034.

In some implementations, the expiration period 1048 indicates an offset to the amount of time that the payment module 124 holds the authorization grant token 1040 valid for initiation of a transaction with the automatic retail machine 122 associated with the payment module 124. For example, the expiration period 1048 depends on the history and credit of the user of the mobile device 104 or a period predefined by the user of the mobile device 104.

In some implementations, the authorization grant token 1040 further includes the authorization code 1004 that was included in the authorization request 1030. In some implementations, when the authorization code 1004 is the hash value, the server system 108 encrypts the authorization grant token 1040 including the hashed value with the shared secret encryption key associated with the payment module 124. Subsequently, when the mobile device 104 sends the authorization grant token 1040 to the payment module 124 after detecting a trigger condition, the payment module 124 decrypts the authorization grant token 1040 using the secret key known only to the server system 108 and the payment module 124 (which authenticates the message and the authorization grant), and then matches the hash value included in the decrypted authorization grant token 1040 to previously broadcast valid (i.e., unexpired and un-used) hash values (e.g., stored authorization codes) to determine the validity of the hash value (which was known only by the payment module 124).

FIG. 10D is a block diagram of transaction information 1050 generated by the payment module 124 (e.g., in step 904 of the process 900 in FIG. 9 ) in accordance with some implementations. In some implementations, the transaction information 1050 includes: a transaction ID 1052 for the respective transaction; a device ID 1054; a user ID 1056; (optionally) the authorization code 1058; transaction status information 1060; the transaction detail information 1062; and miscellaneous information 1064. In some implementations, the transaction information 1050 is encrypted with the shared secret key corresponding to the payment module 124.

In some implementations, the transaction ID 1052 is a unique identifier corresponding to the respective transaction. In some implementations, the transaction ID 1052 is encoded based on or associated with the time and/or date on which and the location at which the respective transaction took place.

In some implementations, the device ID 1054 is a unique identifier corresponding to the payment module 124 that performed the respective transaction.

In some implementations, the user ID 1056 is an identifier associated with the user of the mobile device 104 that initiated the respective transaction.

In some implementations, the authorization code 1058 corresponds to the original authorization code (e.g., the auth code 1004, FIGS. 10A-10C) and/or authorization grant token (e.g., the auth grant token 1040, FIG. 10C) that was used to initiate the respective transaction. In some implementations, the authorization code 1056 is encrypted with a unique encryption key corresponding to the payment module 124.

In some implementations, the transaction status information 1060 includes an indication whether the respective transaction was completed, not-completed, or aborted. For example, the respective transaction is incomplete if a jam occurred at the automatic retail machine 122 and the user did not receive the product associated with the respective transaction. For example, if the user walks away from the automatic retail machine 122 after money was credited for the respective transaction, the respective transaction is aborted. In another example, if respective transaction times out after a predetermined time period because the user failed to select a product at the automatic retail machine 122, the respective transaction is aborted. In another example, if the user actuates a bill or coin return mechanism of the automatic retail machine 122, the respective transaction is aborted.

In some implementations, the transaction detail information 1062 indicates the amount of the respective transaction or the amount of each of multiple transactions (e.g., in a multi-vend scenario). In some implementations, the transaction detail information 1062 also indicates other information related to the respective transaction such as the items dispensed by the automatic retail machine 122 and the type of transaction (e.g., coins, bills, credit card, manual mode, hands-free mode, etc.).

In some implementations, the miscellaneous information 1064 includes other information related to the payment module 124 and/or the automatic retail machine 122 to which the payment module 124 is coupled. For example, the miscellaneous information 1064 includes a verification request to the server system 108 in order to implement new firmware. In another example, the miscellaneous information 1064 includes transaction information from one or more previous interrupted transactions. In another example, the miscellaneous information 1064 includes transaction information for one or more past hard currency transactions and/or other cashless transactions (e.g., paid with a credit card or bank card at the automatic retail machine 122). In another example, the miscellaneous information 1064 includes inventory information as to one or more products of the automatic retail machine 122.

Attention is now directed towards implementations of user interfaces (“UIs”) and associated processes that may be implemented on a mobile device 104 with zero or more speakers 1102, zero or more microphones 1104, and a display 1106. For example, the display 1106 is a touch screen (sometimes also herein called a “touch screen display”) enabled to receive one or more contacts and display information (e.g., media content, websites and web pages thereof, and/or user interfaces for application(s) 326). FIGS. 11A-11G illustrate exemplary user interfaces for facilitating displaying promotional offers in accordance with some implementations.

Although some of the examples that follow will be given with reference to inputs on a touch screen (where the touch sensitive surface and the display are combined), in some implementations, the device detects inputs on a touch-sensitive surface that is separate from the display. In some implementations, the touch sensitive surface has a primary axis that corresponds to a primary axis on the display. In accordance with these implementations, the device detects contacts with the touch-sensitive surface at locations that correspond to respective locations on the display. In this way, user inputs detected by the device on the touch-sensitive surface are used by the device to manipulate the user interface on the display of the device when the touch-sensitive surface is separate from the display. It should be understood that similar methods are, optionally, used for other user interfaces described herein.

Additionally, while the following examples are given primarily with reference to contacts (e.g., finger inputs such as finger contacts, finger tap gestures, finger swipe gestures, etc.), it should be understood that, in some implementations, one or more of the contacts are replaced with input from another input device (e.g., a mouse-based, stylus-based, or physical button-based input). For example, a swipe gesture is, optionally, replaced with a mouse click (e.g., instead of a contact) followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is, optionally, replaced with a mouse click while the cursor is located over the location of the tap gesture (e.g., instead of detection of the contact followed by ceasing to detect the contact) or depression of a physical button. Similarly, when multiple user inputs are simultaneously detected, it should be understood that multiple computer mice are, optionally, used simultaneously, or a mouse and finger contacts are, optionally, used simultaneously.

FIGS. 11A-11G show user interface 1108 displayed on respective mobile device 104 (e.g., a mobile phone associated with a user) for an application associated with the payment processing system 100; however, one skilled in the art will appreciate that the user interfaces shown in FIGS. 11A-11G may be implemented on other similar computing devices. The user interfaces in FIGS. 11A-11G are used to illustrate the processes described herein, including the method described with respect to FIGS. 12A-12C. One of ordinary skill in the art will appreciate that the following user interfaces are merely examples. Moreover, one of ordinary skill in the art will appreciate that additional affordances and/or user interface elements, or that fewer affordances and/or user interface elements may be used in practice.

FIG. 11A illustrates the mobile device 104 displaying a transaction initiation screen 1110 for 8th floor snack machine. In FIG. 11A, the transaction initiation screen 1110 includes a sequence of indicators 1116 showing that 8th floor snack machine is one of three automatic retail machines with which the user is authorized to initiate a transaction. For example, the user of the mobile device 104 is able to access the second of the three automatic retail machines by performing a left-to-right swipe gesture on the user interface 1108 (or alternatively a right-to-left swipe gesture) and the first second the three automatic retail machines by performing a right-to-left swipe gesture on the user interface 1108 (or alternatively a left-to-right swipe gesture). The user of the mobile device 104 is able to access settings and/or a home screen of the application by selecting affordance 1112 (e.g., with a tap gesture), and the user of the mobile device 104 is able to refresh the transaction initiation screen 1110 by selecting affordance 1114 (e.g., with a tap gesture).

FIG. 11A also shows that the user of the mobile device 104 has a prepaid balance of $100.00. The user of the mobile device 104 is able to initiate a transaction with the 8th floor snack machine by performing an upward swipe gesture originating from region 1120 of the transaction initiation screen 1110. The user of the mobile device 104 is able to access special promotional offers by selecting “Special Offers” region 1122 (e.g., with a tap gesture), and the user of the mobile device 104 is able to “like” or favorite the 8th floor snack machine by selecting affordance 1124 (e.g., with a tap gesture). FIG. 11A also illustrates the mobile device 104 detecting contact 1140 at a location corresponding to “Special Offers” region 1122.

FIG. 11B illustrates the mobile device 104 displaying a special offers screen 1130 for the 8th floor snack machine. In FIG. 11B, the special offers screen 1130 includes: a first region that corresponds to “Offer A” 1152 on product A accompanied by image A of product A; a second region that corresponds to “Offer B” 1154 on product A accompanied by image A of product A; and a third region that corresponds to “Offer C” 1156 on product B accompanied by image B of product B. The special offers screen 1130 also includes refresh affordance 1151, which, when activated (e.g., via a tap gesture), causes the special offers screen 1130 to be refreshed. In FIG. 11B, none of Offers A, B, C are currently selected. The user of the mobile device 104 is able to select “Offer A” 1152 by performing a gesture (e.g., a tap gesture) on selection affordance 1153. Similarly, the user of the mobile device 104 is able to select “Offer B” 1154 by performing a gesture (e.g., a tap gesture) on selection affordance 1155 or “Offer C” 1156 by performing a gesture (e.g., a tap gesture) on selection affordance 1157. The user of the mobile device 104 is also able to dismiss or delete any of Offers A, B, or C by performing a right-to-left swipe gesture (or a left-to right swipe gesture in other implementations) in a corresponding region. FIG. 11B also illustrates the mobile device 104 detecting a right-to-left swipe gesture within the second region corresponding to “Offer B” 1154 with contact 1160 moving from a first location 1162-a to a second location 1162-b.

In some implementations, the special offers screen 1130 further includes a fourth region corresponding to “No Selected Offer.” For example, the user of the mobile device 104 may view the promotional offers on the special offers screen 1130 but not wish to apply any of them to a future transaction with the 8th floor snack machine. As such, the user of the mobile device 104 may select the “No Selected Offer” region (e.g., with a tap gesture), and, in response, the mobile device 104 re-displays the transaction initiation screen 1110 as shown in FIG. 11A.

FIG. 11C illustrates the mobile device 104 displaying delete affordance 1164 within the second region corresponding to “Offer B” 1154 in response to detecting the right-to-left swipe gesture in FIG. 11B. The delete affordance 1164, when activated, (e.g., via a tap gesture), causes “Offer B” 1154 to be deleted from the special offers screen 1130. FIG. 11C also illustrates mobile device 104 detecting contact 1166 at a location corresponding to delete affordance 1164.

FIG. 11D illustrates the mobile device 104 ceasing to display “Offer B” 1154 within the special offers screen 1130 in response to detecting selection of delete affordance 1164 in FIG. 11C. FIG. 11D also illustrates mobile device 104 detecting contact 1168 at a location corresponding to selection affordance 1153 for “Offer A” 1152. Alternatively, in some implementations, the user of the mobile device may not wish to apply any of the offers to a future transaction with the 8th floor snack machine. As such, the user may select the affordance 1112 (e.g., with a tap gesture) or perform a predefined gesture on the special offers screen 1130 to re-display the transaction initiation screen 1110 as shown in FIG. 11A.

FIG. 11E shows that selection affordance 1153 is selected in response to detecting selection of selection affordance 1153 in FIG. 11D. In some implementations, a transaction with the 8th floor snack machine is automatically initiated in response to detecting selection of selection affordance 1153 in FIG. 11D. In other implementations, after detecting selection of selection affordance 1153 in FIG. 11D, the mobile device 104 re-displays the transaction initiation screen 1110 (as shown in FIG. 11A) and the transaction with the 8th floor snack machine is initiated in response to detecting upward swipe gesture originating from region 1120 of the transaction initiation screen 1110.

FIG. 11F illustrates the mobile device 104 displaying a product code screen 1170, which prompts the user of the mobile device 104 to obtain the product code (e.g., UPC code, SKU, or the like) for product A so as to validate Offer A″ 1152 selected in FIG. 11D. The product code screen 1170 also includes a product code scanner window 1172 for capturing an image of product A and/or scanning the product code of product A. In FIG. 11F, UPC code 1174 (e.g., the product code) of product A (e.g., a candy bar), which is in the field of view of a camera of the mobile device 104, is shown within the product code scanner window 1172. For example, the user of the mobile device 104 is able to capture the image of product A (including the UPC code 1174 within the current field of view) or scan the UPC code 1174 by tapping within product code scanner window 1172, issuing an audible command, depressing a predetermined physical button of the mobile device 104, or the like. FIG. 11F also shows that the user of the mobile device 104 has a prepaid balance of $99.00, which is $1.00 less than the amount shown in FIGS. 11A-11E due to purchase of product A.

FIG. 11G illustrates the mobile device 104 displaying an offer validation screen 1180. In some implementations, the mobile device 104 displays the offer validation screen 1180 after the user completes the transaction with the 8th floor snack machine and the server validates the product code information (e.g., the UPC scanned in FIG. 11F). In FIG. 11G, the offer validation screen 1180 indicates that the “Offer A” 1152 was validated and that the user's balance was credited $0.25. FIG. 11G also shows that the user of the mobile device 104 has a prepaid balance of $99.25, which is $0.25 more than the amount shown in FIG. 11G due to validation of the “Offer A” 1152 and a credit of $0.25 for the “Offer A” 1152.

FIGS. 12A-12C illustrate a flowchart diagram of a method 1200 of providing and handling promotional offers for an automatic retail machine in accordance with some implementations. In some implementations, method 1200 is performed by a mobile device with a display, one or more processors, and memory. For example, in some implementations, method 1200 is performed by mobile device 104 (FIGS. 1-2 ) or a component thereof (e.g., the client-side module 102, FIGS. 1-2 ). In some implementations, method 1200 is governed by instructions that are stored in a non-transitory computer readable storage medium and the instructions are executed by one or more processors of the mobile device. Some operations in the method 1200 are, optionally, combined and/or the order of some operations is, optionally, changed.

In some implementations, the payment processing system 100 (FIG. 1 ) includes the mobile device 104, which performs the method 1200, a server system 108, and a payment module 124 coupled with an automatic retail machine 122. An instance of the client-side module 102 (e.g., as an application) is executed on the mobile device 104 as a foreground or background process to access and communicate with other devices (e.g., the server 108 and the payment module 124) in the payment processing system 100. The server 108 manages the payment processing system 100 and, in some cases, is associated with an entity that supplies, operates, and/or manufactures the payment module 124.

In some implementations, prior to displaying the one or more promotional offers, the mobile device (1202): obtains an information packet broadcast by a payment module coupled with a automatic retail machine, where the information packet at least includes an authorization code and a unique identifier corresponding to the payment module; send a transaction authorization request to a server, where the transaction authorization includes the authorization code and the unique identifier corresponding to the payment module; and, in response to the transaction authorization request, receive authorization information from the server that includes an authorization grant token for initiating a transaction with the automatic retail machine coupled with the payment module and the one or more promotional offers from the server. As discussed in the process 800, the mobile device 104 or a component thereof (e.g., the broadcast obtaining module 230, FIG. 2 ) receives the information packet broadcast by the payment module 124 which at least includes an authorization code and an identifier associated with the payment module 124. Subsequently, the mobile device 104 or a component thereof (e.g., the transaction authorization module 232, FIG. 2 ) sends the authorization code to the server 108 to pre-authorize a transaction with the automatic retail machine 122 to which the payment module 124 is coupled. In accordance with a determination that the server 108 pre-authorizes the potential transaction, the mobile device 104 or a component thereof (e.g., the transaction authorization module 232, FIG. 2 ) receives an authorization grant token for performing a transaction with the automatic retail machine 122. In some implementations, the mobile device 104 stores the authorization grant token (e.g., in user data 265, FIG. 2 ) until a trigger condition for initiating the transaction with the automatic retail machine 122 is detected (e.g., by the trigger detecting module 236, FIG. 2 ). In some implementations, the trigger condition is satisfied when the mobile device 104 detects a user input on the user interface displayed by the mobile device 104. For example, with reference to FIG. 11A, a transaction is initiated between the user of the mobile device 104 and the 8th floor snack machine when the mobile device 104 detects an upward swipe gesture originating from region 1120 of the user interface 1108. In another example, with reference to FIG. 11D, a transaction is initiated between the user of the mobile device 104 and the 8th floor snack machine when the mobile device 104 detects selection of Offer A 1152 with contact 1166.

In some implementations, the mobile device further includes (1204) a first transceiver associated with a short-range communication protocol and a second transceiver associated with a long-range communication protocol. The mobile device communicates with the payment module via the first transceiver, and the mobile device communicates with the server via the second transceiver. For example, the short-range communication protocol is BLE, NFC, or the like, and the long-range communication protocol is GSM, CDMA, Wi-Fi, or the like.

The mobile device displays (1206) one or more promotional offers on the display. In some implementations, the mobile device 104 only displays promotional offers for products which the user has a sufficient balance. For example, a soda costs $2.00 and there is a promotion for $0.50 off, however, the user has a balance of only $1.00. In this example, the mobile device forgoes displaying the promotion for the soda. FIG. 111B, for example, shows the mobile device 104 displaying special offers screen 1130 for the 8th floor snack machine. In FIG. 11B, the special offers screen 1130 includes: a first region that corresponds to “Offer A” 1152 on product A accompanied by image A of product A; a second region that corresponds to “Offer B” 1154 on product A accompanied by image A of product A; and a third region that corresponds to “Offer C” 1156 on product B accompanied by image B of product B. Alternatively, in some implementations, a respective one of the one or more promotional offers is applied automatically after the user completes a transaction, and the mobile device prompts the user to provide the product code corresponding to the respective promotion. In some implementations, one or more advertisements are displayed in place of the one or more selectable promotional offers.

In some implementations, one of the one or more promotional offers is a “reward” for a product or service that is not associated with the automatic retail machine 122 (i.e., an out-of-band offer). For example, if the user purchases a particular product, he/she will receive a link via email for a free download (e.g., a song, video, etc.), in-app credit (e.g., $2.00 for purchases within a digital media marketplace or a $2.00 credit for in-app purchases for a game), or the like. This may or may not require validation of product. For example, buy any product now from this machine and get a link to a $1.00 off coupon via email or text for a case of soda from a retail store. In some implementations, the offer might be an “additional sale” this is an out-of-band offer. For example, purchase XYZ Cola now, and get a case of XYZ Cola from a store for only $1.50 with a coupon to be mailed to your email address. In another example, purchase ABC Chips now, and get a special discount offer to buy a cool T-shirt for $5.00. In this example, $5.00 is added to transaction price and the user is sent an email regarding redemption and shipping of the cool the T-shirt.

In some implementations, the user is able to dismiss or delete offers and the mobile device 104 sends this information to the server 108 for analytics purposes. In one example, FIG. 11C shows the mobile device 104 displaying delete affordance 1164 within the second region corresponding to “Offer B” 1154 in response to detecting the right-to-left swipe gesture in FIG. 11B. Continuing with this example, FIG. 11D shows the mobile device 104 ceasing to display “Offer B” 1154 within the special offers screen 1130 in response to detecting selection of delete affordance 1164 in FIG. 11C.

In some implementations, the one or more promotional offers are identified (1208) based on at least one of: a unique identifier corresponding to the payment module, at least one of the current time and date, a location of the automatic retail machine, a location of the mobile device, and a unique identifier corresponding to the user of the mobile device. In some implementations, the server 108 or a component thereof (e.g., offer determining module 328, FIG. 3 ) determines/identifies the one or more promotional offers based on the current time/date, current location, device ID associated with the payment module, user ID associated with the user of the mobile device, and the like. In some implementations, the mobile device 104 or a component thereof (e.g., the offer(s) module 234, FIG. 2 ) determines/identifies the one or more promotional offers from a pre-stored collection of offers based on the current time/date, current location, device ID associated with the payment module, user ID associated with the user of the mobile device, and the like. For example, the mobile device 104 identifies the one or more promotional offers from the offers database 266 which includes offers sent by the server 108 at a prior time such as a part of an update to the application.

In some implementations, the promotional offers are identified based on the products stocked in the automatic retail machine 122 or past behavior (e.g., previous offers selected by the user, previous offers deleted by the user, previous offers not selected by the user, etc.). For example, side-by-side are separate snack and soda vending machines. The user buys a soda first. Then, when the user goes to transact with the snack machine, the user is presented with an offer for a particular product (e.g., to enable cross promotions between soda and snack distributors). Alternatively, the offers could be based on what a user did not select from the soda machine or offers that were actively deleted before.

In some implementations, the provider of the server 108 and payment module 124 manages a promotion marketplace to facilitate placing of promotional offers by manufacturers and distributors of products and to also facilitate competition between various product manufacturers and distributors. For example, a distributor or manufacturer of a product may place a promotional offer for $0.25 off on a particular item in all applicable community colleges in California on Thursdays between 2:00 and 4:00 PM PDT. In another example, a distributor or manufacturer of a product may place a promotional offer for 50% off on the product on the day the product expires (e.g., to sell perishable sandwiches or the like) for all applicable automatic retail machines. In some implementations, cross-promotional offers or complex promotional offers may also be placed whereby a user gets a credit (e.g., a rebate) for purchasing a particular drink and snack combination where each are manufactured or distributed by different entities.

In some implementations, a promotional offer on all items in automatic retail machines on a entity's campus (essentially a subsidy) is only available to select users. For example, all attorneys and staff at a law firm are given a subsidized rate on snacks but cleaning persons do not benefit from said subsidized rate. In another example, all full-time employees are given a subsidized rate on snacks but temporary workers do not benefit from said subsidized rate.

In some implementations, variable pricing is enacted whereby the base price of items changes and promotion offers may be added in addition to the variable pricing scheme. For example, a distributer wishes to decrease the price on all items in applicable machines during the off-peak hours (e.g., 9:00 PM-6:00 AM). Therefore, after a transaction is completed, the server 108 will only charge a user the decreased price, and, after the server processes and accounts for the transaction, transaction acknowledgment information displayed at the mobile device 104 will indicate that the user was only charged the decreased price and not the price shown at the automatic retail machine 122.

The mobile device detects (1210) a user input selecting a respective promotional offer of the one or more promotional offers. For example, the user input is a touch input, voice input, or the like. FIG. 11D, for example, shows the mobile device 104 detecting selection of selection affordance 1153 for “Offer A” 1152, and FIG. 11E shows that selection affordance 1153 is selected in response to detecting selection of selection affordance 1153 in FIG. 11D. In some implementations, the respective promotional offer is a negative one, such as a donation to AIDS research, that adds a selected amount to the user's next transaction. Alternatively, in some implementations, the respective promotional offer is a negative one whereby the transaction is rounded up to the nearest dollar, where additional amount is donated to a Cancer research foundation.

The mobile device initiates (1212) performance of a transaction with an automatic retail machine coupled with a payment module, where the transaction corresponds to purchase of a product stocked by the automatic retail machine. In some implementations, the transaction is initiated in response to selection of the respective promotional offer (i.e., one-click transaction initiation process). For example, a transaction with the 8th floor snack machine is automatically initiated in response to detecting selection of selection affordance 1153 in FIG. 11D. In other implementations, after the user selects an offer the user performs an action to initiate a transaction with the automatic retail machine (i.e., a two-step transaction initiation process). For example, after detecting selection of selection affordance 1153 in FIG. 11D, the mobile device 104 re-displays the transaction initiation screen 1110 (as shown in FIG. 11A) and the transaction with the 8th floor snack machine is initiated in response to detecting upward swipe gesture originating from region 1120 of the transaction initiation screen 1110.

In some implementations, performance of the transaction with the automatic retail machine coupled with the payment module is initiated (1214) by sending the authorization grant token to the payment module, where the authorization grant token includes the authorization code included in the broadcast information packet. In some implementations, initiating performance of the transaction includes the mobile device 104 or a component thereof (e.g., the transaction initiating module 238, FIG. 2 ) sending the stored authorization grant token to the payment module 124 for payment and the user manually selects a product using the user interface of the automatic retail machine 122. As such, the automatic retail machine 122 knows nothing about the selected promotional offer—it only knows that the user sent it a payment. For example, the automatic retail machine 122 returns transaction and product information that is passed to the mobile device 104 by the payment module 124 but it cannot determine or state in any way if it is a product that corresponds to the offer. For example, the transaction completion notification indicates “I vended E3 for $1.00”.

The mobile device receives (1216) a transaction completion notification from the payment module, where the transaction completion notification indicates that the product corresponding to the selected respective promotional offer was vended by the automatic retail machine. In some implementations, the mobile device 104 or a component thereof (e.g., the transaction completion notification receiving module 240, FIG. 2 ) receives transaction completion notification (e.g., the transaction status information, the transaction detail information, the other miscellaneous information regarding the respective payment module 124 and/or the automatic retail machine 122 to which the respective payment module 124 is coupled, and/or the like) from the payment module 124 after the user manually selects a product using the user interface of the automatic retail machine 122. In some implementations, the transaction completion notification includes the good/service associated with the transaction, the current inventory of the automatic retail machine 122, information associated with one or more previous cash transactions, information associated with one or more interrupted transactions handled by the payment module 124, and/or other information associated with the automatic retail machine 122 such as error or maintenance states. In some implementations, the payment module 124 sends an error message in place of the transaction completion notification when the transaction is aborted or an error occurs during the transaction such as unavailability of a requested good/service or a vending jam.

In response to receiving the transaction completion notification, the mobile device provides (1218) a prompt to the user of the mobile device to obtain a product code for the vended product to validate the respective promotional offer. In some implementations, the mobile device 104 or a component thereof (e.g., the product code processing module 242, FIG. 2 ) displays a scanning interface for capturing the product code of the vended item after receiving the transaction completion notification. FIG. 11F, for example, shows the mobile device 104 displaying a product code screen 1170, which prompts the user of the mobile device 104 to obtain the product code (e.g., UPC code, SKU, or the like) for product A so as to validate Offer A″ 1152 selected in FIG. 11D. The product code screen 1170 also includes a product code scanner window 1172 for capturing an image of product A and/or scanning the product code of product A. In FIG. 11F, the UPC code 1174 of product A (e.g., a candy bar), which is in the field of view of a camera of the mobile device 104, is shown within the product code scanner window 1172. For example, the user of the mobile device 104 is able to capture the image of product A (including the UPC code 1174 within the current field of view) or scan the UPC code 1174 by tapping within product code scanner window 1172, issuing an audible command, depressing a predetermined physical button of the mobile device 104, or the like.

In other implementations, the mobile device 104 or a component thereof (e.g., the product code processing module 242, FIG. 2 ) displays a pop-up message or banner notification on the display prompting the user of the mobile device 104 to manually enter or otherwise obtain the product code of the vended item. In other implementations, the mobile device 104 or a component thereof (e.g., the product code processing module 242, FIG. 2 ) provides an audible tone, a vocal prompt, or a sequence of tactile/haptic vibrations prompting the user of the mobile device 104 to enter or otherwise obtain the product code of the vended item.

The mobile device obtains (1220) the product code for the vended product. For example, the user enters the barcode character-by-character, scans the barcode, or simply captures an image of the barcode. In some implementations, the mobile device 104 or a component thereof (e.g., the product code processing module 242, FIG. 2 ) receives the product code.

In some implementations, obtaining the product code further comprises (1222): capturing an image of the product that includes the product code; and extracting the product code from the captured image. In some implementations, obtaining the product code further comprises (1224): scanning the product code of the product with a scanner unit of the mobile device. For example, the user of the mobile device 104 is able to access a product code capture plug-in from within the application associated with the payment processing system 100 (e.g., the product code processing module 242, FIG. 2 ) which enables the user to capture an image of the product with the product code in the field of view or scan the product code of the product. In this example, the mobile device 104 extracts the product code from the captured image and sends the extracted product code to the server 108 or, alternatively, the mobile device 104 sends the captured image to the server 108 where the product code is extracted. In another example, the user of the mobile device 104 is able to manually enter the product code from within the application (e.g., via a virtual keypad) or via a website associated with the payment processing system 100.

After obtaining the product code, the mobile device transmits (1226) the product code to the server. In response to transmitting the product code, the mobile device: receives promotion validation information from the server; and displays the promotion validation information on the display, where the promotion validation information indicates whether the respective promotion offer was validated. In some implementations, the mobile device 104 or a component thereof (e.g., the product code processing module 242, FIG. 2 ) either validates the obtained product code or sends the obtained product code to the server 108 for validation. In some implementations, the mobile device 104 or a component thereof (e.g., the information relaying module 244, FIG. 2 ) sends the transaction completion notification or a portion thereof to the server 108 regardless of whether the user follows the prompt and the mobile device 104 ultimately obtains the product code. In some implementations, the server 108 determines whether conditions for the respective promotional offer have been based on the transaction and the product code. For example, the server 108 determines whether the proper product code was obtained for the respective promotional offer, whether the respective promotional offer has expired, whether the user has fulfilled a buy N items get one free condition, whether the user has fulfilled cross-promotion condition, and/or the like. In some implementations, the offer is validated and applied by the server 108 to the user's account.

In some implementations, the mobile device 104 of a component thereof (e.g., the offer validation module 246, FIG. 2 ) receives and displays the promotion validation information. For example, the promotion validation information indicates whether the offer was validated and an updated user balance/transaction listing. FIG. 11G, for example, shows the mobile device 104 displaying an offer validation screen 1180, which indicates that the “Offer A” 1152 was validated and that the user's balance was credited $0.25. FIG. 11G also shows that the user of the mobile device 104 has a prepaid balance of $99.25, which is $0.25 more than the amount shown in FIG. 11G due to validation of the “Offer A” 1152 and a credit of $0.25 for the “Offer A” 1152. For example, when the user gets a fifth purchased product free and the product that was the subject of the instant transaction was only the first item purchased, the promotion validation information indicates that the user must buy 3 more of the product before he/she gets a free product. In some implementations, the promotion validation information includes a coupon for a product or service that is not associated with the automatic retail machine 122 For example, the user is emailed a coupon for $5 off an amusement park for purchasing a soda.

In some implementations, after obtaining the product code, the mobile device determines (1228) whether a predetermined time period has expired. In accordance with a determination that the time period has expired, the mobile device provides a notification to the user of mobile device indicating that the respective promotional offer has expired. In accordance with a determination that the time period has not expired, the mobile device transmits the product code to the server. In some implementations, the predetermined time period corresponds to the time between (A) initiating performance of the transaction or prompting for the product code, (B) obtaining the product code or some other time period. For example, the mobile device 104 must receive the product code within 5 minutes of the prompt or within 5 minutes of initiation of the transaction. In some implementations, this may occur hours or even days later. In some implementations, a predetermined proximity between a first location where the transaction was initiated and a second location where the product code was obtained is used in addition to or in place of the predetermined time period.

In some implementations, the application associated with the payment processing system 100 has a coupon plug-in whereby the user of the mobile device 104 is able to scan a coupon after completing a transaction for a product and also scan the product code of the product to get a post hoc rebate for the transaction.

In some implementations, the promotion validation information indicates (1230) the price of the product after the application of the respective promotional offer. For example, the mobile device 104 displays the total deducted from the user's account or charged to the user's linked bank card after application of the promotional offer to the base purchase price included in the notification completion information. FIG. 11G, for example, shows that the user of the mobile device 104 has a prepaid balance of $99.25, which is $0.25 more than the amount shown in FIG. 11G due to validation of the “Offer A” 1152 and a credit of $0.25 for the “Offer A” 1152.

In some implementations, the mobile device transmits (1232) the transaction completion notification to the server. In some implementations, the mobile device 104 or a component thereof (e.g., the information relaying module 244, FIG. 2 ) sends the transaction completion notification (e.g., the transaction status information, the transaction detail information, the other miscellaneous information regarding the respective payment module 124 and/or the automatic retail machine 122 to which the respective payment module 124 is coupled, and/or the like) or a portion thereof to the server 108 prior to sending the product code or along with the product code. In some implementations, the transaction completion notification or a portion thereof is sent to the server 108 regardless of whether the user follows the prompt and the mobile device ultimately obtains the product code.

It should be understood that the particular order in which the operations in FIGS. 12A-12C have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods and/or processes described herein (e.g., the processes 800 and 900) are also applicable in an analogous manner to method 1200 described above with respect to FIGS. 12A-12C.

While particular implementations are described above, it will be understood it is not intended to limit the application to these particular implementations. On the contrary, the application includes alternatives, modifications and equivalents that are within the spirit and scope of the appended claims. Numerous specific details are set forth in order to provide a thorough understanding of the subject matter presented herein. But it will be apparent to one of ordinary skill in the art that the subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the implementations.

Asynchronous Mobile Payments for Parallel Transactions

Implementations described in this section include methods and systems for asynchronously processing multiple transactions between one or more consumer devices and a merchant device in parallel. In some implementations, a merchant device (FIG. 13, 1304 ) runs a merchant app (FIG. 13, 1302 ), one or more consumer mobile devices 104 run a consumer app 102, and one or more servers 108 interact with both the merchant app and the consumer app (e.g., over a long-range network connection 110, such as the Internet or a wireless mobile network). In this system, the merchant app and the consumer app are in proximity to each other such that they are within the range of a local communication network 111 (e.g., a wifi, Bluetooth or IEEE 802.15.4 network). In some implementations, the merchant app and/or the consumer app are additionally configured to perform all or a subset of any of the operations described with reference to other portions of the application (e.g., operations described with reference to any of FIGS. 8-12 , operations associated with the mobile devices 104 described above with reference to FIG. 1 , and/or operations associated with the payment module 124 described above with reference to FIG. 1 ).

In some implementations, the merchant app is ready during an idle state (e.g., while in a sleep state or in a background mode) and does not need specific direction to initiate the payment process (e.g., by broadcasting a merchant identifier). In some implementations, the merchant app broadcasts its unique identifier via a local radio for short-range communication. The consumer app in proximity to the merchant app (see FIGS. 17-18 ) picks up the broadcasted unique identifier, and then the consumer app passes that identifier to a server. The server returns the merchant's details which can include, but are not limited to, the merchant's name, logo, picture, address, phone, email, available offers, any preset transaction amounts (e.g., amounts requested by the merchant in order to complete a proposed transaction), and rewards or loyalty points.

In some implementations, the merchant information is presented to the consumer in the consumer app (FIG. 23A). If there are a plurality of merchants in the vicinity, the consumer app presents all available merchants (FIG. 23B) to allow a consumer to select the merchant with whom the consumer wants to conduct an in-person transaction. The available merchant list is presented in the consumer app and may be sorted according to distance to the merchant, which is, in some implementations, based on the signal strength of the short-range radio. The sorting can also be based on set location (e.g., GPS) coordinates, or set from a configuration from the server for sort order for each merchant.

The consumer selects the desired merchant and then enters an amount to pay the selected merchant, or selects a pre-filled amount (FIG. 24 ). In some implementations, the consumer enters the amount in a freeform field (FIG. 19 ). In some implementations, one or more amounts are pre-filled, having already been entered by the merchant. In some implementations, the pre-filled amount(s) is included in the initial broadcast (the broadcast that includes the unique merchant identifier). Alternatively, the pre-filled amount(s) is included in a broadcast form the merchant subsequent to the initial broadcast (FIG. 20 ). Alternatively, the pre-filled amount(s) is supplied by the server (FIG. 21 ). The consumer may also optionally view and select available offers for that merchant. The consumer may also optionally enter a “tip” or gratuity amount, and a description for the payment.

Once the consumer has entered the required information, he or she is able to initiate payment to the selected merchant (e.g., FIG. 24 , “Send Payment”). The payment is sent by the consumer app to the server. Notably, in some implementations, the payment is not sent directly to the merchant app via the short-range communication network 111. Rather, the consumer app sends the payment to the server via the long-range communication network 110.

The server then processes the payment and sends a notification to the merchant app that the payment has been made. A confirmation is also sent to the consumer app.

In some implementations, there are multiple consumers (using a plurality of respective consumer devices 104) sending payments to the same merchant in parallel. In some implementations, the broadcast from the merchant app (including the merchant's unique identifier) is unencrypted and may be picked up by any consumer app in the vicinity of the merchant device's short-range radio. Each consumer device, if initiating payment on its own consumer app, can send payments simultaneously based on the requirements of the server(s) to be able to handle multiple requests at the same time (e.g., based on processing bandwidth limits of the server).

In some implementations (FIG. 20 ), the merchant enters the amount to charge in the Merchant App (FIG. 25A). The amount is then broadcasted via the short-range communications radio along with the unique identifier, or in a subsequent broadcast. The consumer app picks this amount up from the broadcast and prefills it into the consumer app (e.g., into the “Amount” field in FIG. 24A) to save the consumer effort from having to enter the amount and/or for restricting the consumer from sending a different amount. Pre-filling the amount field also minimizes errors as the merchant, not the consumer, enters the amount to pay, ensuring that the amount is correct. The consumer may optionally add an additional amount for gratuity.

In some implementations (FIG. 21 ), the merchant configures preset amounts on the server. The amounts are then returned from the server to the consumer app. Neither the merchant nor the consumer enters the amount. The consumer selects from a list of amounts to send (FIG. 26B).

In some implementations, the payment processing is not happening locally; rather, the payment processing is happening remotely on the server and only a confirmation or notification is returned to the merchant and consumer apps. As such, no sensitive information (such as credit card numbers) is sent to the merchant app by the consumer app, thereby protecting the consumer's privacy and providing a more secure platform on which to conduct transactions.

In some implementations, the merchant may have more than one unique identifier that directs to the same merchant record, or the merchant may have more than one unique identifier that points to multiple merchant records. The unique identifier need not be fixed and could be changed on demand or automatically via a schedule.

For implementations involving preset payment amounts on the server, a merchant app can act as a beacon (in addition to or as an alternative to being implemented as a smart phone or other type of mobile device) that provides any compatible consumer app in range of the beacon with information enabling the consumer app to perform such payment on the server.

In some implementations, the server may transmit the confirmation notification to the merchant by way of a separate device (other than the merchant app), such as a smart watch or other device owned (or otherwise being used) by the merchant.

In some implementations, the merchant may respond with a message back to the consumer, such as a “Thank you” message (FIG. 22 ). In some implementations, the merchant app transmits the message to the server, and the server forwards the message to the consumer app. Alternatively, the merchant app transmits the message directly to the consumer app.

In some implementations, the server transmits to the consumer app an itemized receipt based on the items, quantities, and/or amount involved in the completed transaction.

FIG. 13 is a block diagram of a payment processing system 1300 in accordance with some implementations. The payment processing system 1300 includes consumer application(s) 102 (corresponding to client-side modules 102 in FIG. 1 ) executed on mobile device(s) 104, merchant application(s) 1302 executing on merchant device(s) 1304, and a server system 108 (as described with reference to server system 108 in FIG. 1 ). In some implementations, merchant devices 1304 are mobile devices. Alternatively or additionally, one or more of the merchant devices 1304 are point-of-sale machines (e.g., electronic payment processing systems) which do not take the form factor of a mobile device. In some implementations, the payment module 124 is an example of a merchant device 1302 and implements the merchant application 1302 in the same or similar manner.

The consumer application 102 provides consumer-side functionalities for the payment processing system 1300 and communications with both the server-side module 106 and the merchant application 1302. In some implementations, an application associated with the consumer module 102 provides a user interface to the payment processing system 1300 for the consumer device 104. The consumer module 102 communicates with the server-side module 106 via a long-range communication protocol (e.g., GSM, CDMA, Wi-Fi, or the like) through one or more networks 110, and the consumer module 102 communicates with the merchant module 1302 via a short-range communication protocol (e.g., near-field communication (NFC), BLUETOOTH, BLUETOOTH low-energy (BLE), or the like) via one or more short range networks 111. The server-side module 106 provides server-side functionalities for the payment processing system 1300 for any number of consumer modules 102 and merchant modules 1302 each residing on a respective mobile device 104 or 1304, respectively.

Examples of the mobile device(s) 104 and 1304 include, but are not limited to, a handheld computer, a wearable computing device, a personal digital assistant (PDA), a tablet computer, a laptop computer, a desktop computer, a cellular telephone, a smart phone, an enhanced general packet radio service (EGPRS) mobile phone, a media player, a navigation device, a game console, a television, a remote control, a point-of-sale (POS) terminal, vehicle-mounted computer, an eBook reader, or a combination of any two or more of these data processing devices or other data processing devices.

Examples of the one or more networks 110 include local area networks (LAN) and wide area networks (WAN) such as the Internet. One or more networks 110 are, optionally, implemented using any known network protocol, including various wired or wireless protocols, such as Ethernet, Universal Serial Bus (USB), FIREWIRE, Long Term Evolution (LTE), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wi-Fi, voice over Internet Protocol (VoIP), Wi-MAX, or any other suitable communication protocol.

The server system 108 is implemented on one or more standalone data processing apparatuses or a distributed network of computers. In some implementations, the server system 108 also employs various virtual devices and/or services of third party service providers (e.g., third-party cloud service providers) to provide the underlying computing resources and/or infrastructure resources of the server system 108. In some implementations, the server system 108 includes, but is not limited to, a handheld computer, a tablet computer, a laptop computer, a desktop computer, or a combination of any two or more of these data processing devices or other data processing devices.

The payment processing system 1300 shown in FIG. 1 includes both a client-side portion (e.g., the consumer modules 102 and 1302) and a server-side portion (e.g., the server-side module 106). In some implementations, data processing is implemented as a standalone application installed on the mobile device(s) 104 and/or 1304. In addition, the division of functionalities between the client and server portions of the payment processing system 1300 can vary in different implementations. For example, in some implementations, the consumer and merchant module(s) 102 and/or 1302 provide only user-facing input and output processing functions, and delegate all other data processing functionalities to a backend server (e.g., the server system 108). Although many aspects of the present technology are described from the perspective of the server system 108, the corresponding actions performed by the mobile device(s) 104 and/or 1304 would be apparent to ones skilled in the art without any creative efforts. Furthermore, some aspects of the present technology may be performed by the server system 108, the mobile device(s) 104 and/or 1304, or the server system 108 and the mobile device(s) 104 and/or 1304 cooperatively.

FIG. 14 is a block diagram of the merchant device 1304 associated with a merchant in accordance with some implementations. The merchant device 1304, typically, includes one or more processing units (CPUs) 1402, two or more communication devices 1404, memory 1406, and one or more communication buses 1408 for interconnecting these components (sometimes called a chipset). The two or more communication devices 1404 include a first transceiver associated with a short-range communication protocol (e.g., NFC, BLE, or the like) and a second transceiver associated with a long-range communication protocol (e.g., GSM, CDMA, Wi-Fi, or the like). The merchant device 1304 also includes a user interface 1410. The user interface 1410 includes one or more output devices 1412 that enable presentation of media content (e.g., text, images, audio, video, etc.), including one or more speakers and/or one or more visual displays. The user interface 1410 also includes one or more input devices 1414, including user interface components that facilitate user input such as a keyboard, a mouse, a voice-command input unit or microphone, a touch screen display, a touch-sensitive input pad, a gesture capturing camera, or other input buttons or controls. Furthermore, in some implementations, the mobile device 1304 uses a microphone and voice recognition or a camera and gesture recognition to supplement or replace the keyboard. In some implementations, the mobile device 1304 optionally includes one or more sensors 1415, which provide context information as to the current state of the merchant device 1304 or the environmental conditions associated with merchant device 1304. The one or more sensors 1415 include, but are not limited, to one or more microphones, one or more cameras, an ambient light sensor, one or more accelerometers, one or more gyroscopes, a temperature sensor, one or more motion sensors, one or more biometric/biological sensors, and so on. In some implementations, the merchant device 1304 optionally includes a location detection device 1417, such as a GPS (global positioning satellite) or other geo-location receiver, for determining the location of the merchant device 1304.

The memory 1406 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. The memory 1406, optionally, includes one or more storage devices remotely located from the one or more processing units 1402. The memory 1406, or alternatively the non-volatile memory within the memory 1406, includes a non-transitory computer readable storage medium. In some implementations, the memory 1406, or the non-transitory computer readable storage medium of the memory 1406, stores the following programs, modules, and data structures, or a subset or superset thereof:

-   -   operating system 1416 including procedures for handling various         basic system services and for performing hardware dependent         tasks;     -   communication module 1418 for transmitting signals to and         receiving signals from other devices (e.g., the server system         108 and the consumer module 102) via the two or more         communication devices 1404;     -   presentation module 1420 for enabling presentation of         information (e.g., a user interface for the application(s) 1426         or the application associated with merchant module 1302,         widgets, websites and web pages thereof, and/or games, audio         and/or video content, text, etc.) at the merchant device 1304         via one or more output devices 1412 (e.g., displays, speakers,         etc.) associated with the user interface 1410;     -   input processing module 1422 for detecting one or more user         inputs or interactions from the one or more input devices 1414         and interpreting the detected inputs or interactions;     -   web browser module 1424 for navigating, requesting (e.g., via         HTTP), and displaying websites and web pages thereof,     -   one or more applications 1426 for execution by the merchant         device 1304 (e.g., games, application marketplaces, payment         platforms, and/or other web or non-web based applications);     -   merchant module 1302, which provides merchant-side data         processing and functionalities for the payment processing system         1300, including but not limited to:     -   asynchronous payment acceptance module 1450, which provides         merchant-side payment functionalities for the payment processing         system 1300, including but not limited to:         -   broadcasting module 1452 for broadcasting an information             packet to zero or more consumer devices 104 within the             communication zone of the merchant device 1304 (i.e., BLE             range), where the information packet at least includes a             unique identifier corresponding to the merchant device 1304             (e.g., the device ID) and, in some implementations, a             payment amount associated with a proposed in-person             transaction;         -   custom amount module 1454 for accepting custom payment             amounts for proposed transactions through input device 1414             (e.g., using a free-fill form as in FIG. 25A, or a menu of             options as in FIG. 25B), and transmitting the custom payment             amount, using a short-range communication device 1404 to a             consumer device 104 for use in proposed transactions;         -   preset amount module 1456 for accepting custom payment             amounts and configuring them as presets (e.g., using a             free-fill form as in FIG. 25A, or a menu of options as in             FIG. 25B), and transmitting the payments amounts, using a             long-range communication device 1404 to the server 108 for             use in subsequently proposed transactions;         -   confirmation module 1458 for receiving a confirmation             message from the server 108, using a long-range             communication device 1404 (e.g., confirming that the             transaction has been completed, the payment has been made by             a particular consumer, and the like); and         -   response module 1460 for transmitting a response to the             confirmation message to a consumer device 104 using either a             short-range communication device 1404, or for transmitting             the response to the server 108 (for forwarding to the             consumer device 104) using a long-range communication device             1404, wherein the transmitting is either automatic (e.g.,             upon receipt of the confirmation message) or manually             entered and sent (e.g., upon a decision by the merchant to             send the message), wherein the message is preselected (e.g.,             “Thank you”) or customized (e.g., entered by the merchant             using a freeform field); and     -   merchant data 1460 storing data associated with the payment         processing system 1300, including, but is not limited to:         -   merchant profile 1462 storing identification information of             the merchant associated with the merchant device 1304,             including a unique merchant identifier (e.g., a user ID) for             broadcasting by the short-range communication device 1404 in             accordance with the broadcast module 1452; and optionally             storing one or more of a name, logo, picture, address,             phone, or email of the merchant; and         -   merchant data 1464 storing transaction information for             proposed in-person transactions between consumer devices 104             and the merchant device 1304, including preset transaction             amounts (e.g., FIG. 25B), an available offer, or an             available reward; and     -   transaction history 1470 storing a history of completed         transactions between the merchant device 1304 and consumer         devices 104 (e.g., a history of payments that have been made by         respective consumers associated with respective consumer devices         104 to the merchant associated with the merchant device 1304).

Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, modules or data structures, and thus various subsets of these modules may be combined or otherwise re-arranged in various implementations. In some implementations, the memory 1406, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 1406, optionally, stores additional modules and data structures not described above.

FIGS. 15A and 15B are more detailed block diagrams of the asynchronous payment module 250 and asynchronous payment data 270, respectively, of the consumer device 104 as described with reference to FIG. 2 above.

In some implementations, asynchronous payment module 250 stores the following programs, modules, or a subset or superset thereof:

-   -   discovery module 252 for receiving, via the short-range         communication device 204, one or more information packets         broadcast by one or more merchant modules 1302, where each         respective information packet at least includes a unique         identifier corresponding to the respective merchant device 1304         (e.g., the device ID) and, in some implementations, a payment         amount associated with a proposed in-person transaction;     -   merchant selection module 254 for displaying on an output device         212 one or more merchants corresponding to the received merchant         identifiers (see, e.g., FIGS. 23A and 23B); and receiving user         selection on an input device 214 of one of the merchants (e.g.,         user selection of the “Tap to Pay” affordance in FIG. 23A);     -   merchant detail module 256 for transmitting the received         merchant identifiers to the server and receiving from the server         merchant identification information (e.g., 1462) and merchant         transaction information (e.g., 1464) associated with each         merchant identifier; and, in some implementations, for         pre-populating a payment amount or a list of payment selections         in accordance with the received merchant transaction         information;     -   transaction module 258 for receiving consumer selection (through         input device 214) of supplemental transaction data (e.g., a         payment amount, an offer, or a tip; see FIGS. 24 and 26B), and         transmitting through the long-range communication device 204 to         the server 108 the selected supplemental transaction data; and     -   confirmation module 260 for receiving through the long-range         communication device 204 a confirmation message from the server         108 indicating the server completed the transaction, and         optionally, for receiving a follow-up communication (e.g.,         “thank you”) from the merchant (either directly or forwarded         through the server 108).

In some implementations, asynchronous payment data 270 stores the following data structures, or a subset or superset thereof:

-   -   merchant identifier and/or payment amount information 272         received by one or more merchants in range of (or otherwise in         proximity to) the consumer device's short-range communication         device 204.

FIGS. 16A and 16B are more detailed block diagrams of the asynchronous transactions module 350 and asynchronous transactions data 360, respectively, of the server system 108 as described with reference to FIG. 3 above.

In some implementations, asynchronous transactions module 350 stores the following programs, modules, or a subset or superset thereof:

-   -   merchant detail module 352 for receiving requests for merchant         details 370 from consumer device(s) 104, and transmitting         respective merchant details 370 to respective consumer devices         104;     -   transaction completion module 354 for receiving         consumer-specified supplemental transaction data (e.g., a         payment amount, an offer, or a tip; see FIGS. 24 and 26B) from         respective consumer device(s) 104 and processing respective         transactions in accordance with the merchant details (e.g.,         payment acceptance information, such as deposit account         information) and transaction data (e.g., user-specified or         merchant-specified payment amount); and for sending respective         confirmation messages (indicating a completed transaction, an         accepted or processed payment, and so forth) to respective         merchant devices 1304 and/or to respective consumer devices 104;         and storing completed transaction information 382; and     -   communication module 356 for receiving communications (e.g.,         “thank you”) from merchant device(s) 1304 and transmitting         respective communications to respective consumer device(s) 104.

In some implementations, asynchronous transactions data 360 stores the following data structures, or a subset or superset thereof.

-   -   merchant details 370 for each merchant device 372, including,         e.g., merchant identity information 374 (name, logo, and so         forth), transaction information 376 (offers, rewards, and so         forth), and preset amounts 378; and     -   merchant transactions 380 for each merchant 382, included         completed transaction information (amount paid, time of         transaction, and so forth).

FIG. 17 is another view of the payment processing system 1300 in accordance with some implementations. In this example, a merchant application 1302 broadcasts a merchant identifier (and in some implementations, a merchant-specified payment amount) through a short-range communication network 111, where it is received by a consumer application 102 when the consumer is in range of the network 111. The consumer app 102 transmits the identifier to the server over long-range communication network 110, and the server returns the merchant's name and/or logo. The consumer app 102 renders the name(s) and/or logo(s) received by the server in accordance with the broadcasted merchant identifier(s), as shown in the example interfaces depicted in FIGS. 23A (one merchant) and 23B (two or more merchants). In some implementations, the consumer app pre-fills the payment amount field, or otherwise supplies one or more payment amount choices. The consumer makes supplemental selections (e.g., fills out the fields in FIG. 24 ), and the consumer application 104 transmits the selections back to the server. The server then processes the transaction on behalf of the merchant. When the transaction is complete, the server notifies the merchant application 1302, through the long-range communication network 110, that the transaction is complete. In some implementations, the server also notifies the consumer application 102, through the long-range communication network 110, that the transaction is complete.

FIG. 18 is another view of the payment processing system 1300 in accordance with some implementations. In this example, N consumer devices (104-1 through 104-N) are in range of the merchant device 1304, and each of the N consumer devices receive the merchant's unique identifier using short-range communications. Each of the N consumer devices consult the server 108, using long-range communications, for additional details regarding the merchant associated with merchant device 1304 (e.g., name, logo). Consumers associated with the N consumer devices 104 asynchronously interact with their respective consumer applications 102, making selections and deciding to transmit supplemental transaction data (e.g., payment amounts) at different times, not necessarily in the same order in which the consumer devices previously received the merchant's details. As such, the server 108 processes respective transactions from respective consumer devices 104 as the supplemental transaction information arrives at the server. In some implementations, the server 108 processes the respective transactions (or overlapping parts of the respective transactions) in parallel. The server 108 asynchronously sends confirmation notifications to the merchant 1304 as each transaction is completed, not necessarily in the order in which the processing began. In some implementations, the server 108 sends the confirmation notifications (or overlapping parts of the confirmation notifications) in parallel.

FIGS. 19-22 are schematic flow diagrams of processes (1900, 2000, 2100, and 2200, respectively) for asynchronously processing payments in the payment processing system 1300 in accordance with some implementations. In some implementations, the payment processing system 1300 includes one or more consumer devices 104, one or more merchant devices 1304, and a server 108. For each process, each of the one or more consumer devices 104 executes an instance of the consumer module 102 (e.g., as an application) as a foreground or background process to access and communicate with other devices (e.g., the server 108 and the one or more merchant devices 1304) in the payment processing system 1300. In addition, each of the one or more merchant devices 1304 executes an instance of the merchant module 1302 (e.g., as an application) as a foreground or background process to access and communicate with other devices (e.g., the server 108 and the one or more consumer devices 104) in the payment processing system 1300. The server 108 manages the payment processing system 1300 and, in some cases, is associated with an entity that supplies, operates, and/or manufactures the one or more merchant devices 1304. For brevity, the processes will be described with respect to a respective merchant device 1304 and a respective consumer device 104 within the payment processing system 1300.

In process 1900 (FIG. 19 ), the merchant 1304 broadcasts a unique identifier. An example broadcast is described above with reference to FIG. 10A. In some implementations, the broadcast is a packet 1000 including a device ID 1002. In some implementations, the broadcast packet includes only a device ID. The consumer 104 selects the merchant (FIG. 23A) and requests merchant details from the server 108, which responds with the requested details. The consumer 104 enters a payment amount (FIG. 24 ), and optionally selects an offer and/or specifies a tip amount, and then sends the transaction information (consumer-specified payment amount, offer, and/or tip) to the server 108 for processing. The server 108 processes the transaction, and notifies the merchant 1304 and the consumer 104 that the payment has been accepted and the transaction is therefore complete.

In process 2000 (FIG. 20 ), the merchant 1304 broadcasts a unique identifier, as described in the previous process. At some point before, during, or after the merchant device 1304 has started broadcasting, a merchant associated with the merchant device 1304 selects a payment amount (e.g., specified using a merchant UI as depicted in FIG. 25A or 25B). Broadcasts subsequent to this step include both the device ID and the merchant-specified payment amount in the broadcast packet. The consumer 104 selects the merchant (FIG. 23A) and requests merchant details from the server 108, which responds with the requested details. The consumer 104 does not enter a payment amount, as the payment amount has already been specified by the merchant (in this case, the “Amount” field would be pre-filled in FIG. 24 ). The consumer 104 optionally selects an offer and/or specifies a tip amount, and then sends the transaction information (merchant-specified payment amount, offer, and/or tip) to the server 108 for processing. The server 108 processes the transaction, and notifies the merchant 1304 and the consumer 104 that the payment has been accepted and the transaction is therefore complete.

In process 2100 (FIG. 21 ), the merchant 1304 configures preset payment amounts (e.g., by using a merchant UI as depicted in FIG. 25A or 25B), and transmits those amounts to the server 108. The merchant 1304 broadcasts a unique identifier, as described in the previous two processes. In some implementations, the broadcast packet includes only a device ID. The consumer 104 selects the merchant (FIG. 23A) and requests merchant details from the server 108, which responds with the requested details, including the merchant-specified preset payment amounts. The consumer 104 selects one of the merchant-specified preset payment amounts (FIG. 26B), and optionally selects an offer and/or specifies a tip amount, and then sends the transaction information (merchant-specified present payment amount, offer, and/or tip) to the server 108 for processing. The server 108 processes the transaction, and notifies the merchant 1304 and the consumer 104 that the payment has been accepted and the transaction is therefore complete.

In some implementations, processes 1900, 2000, and/or 2100 continue with process 2200 (FIG. 22 ). After the server 108 processes the transaction and notifies the merchant 1304 and the consumer 104 that the transaction is complete, the merchant 1304 communicates a message (e.g., “Thank you”) to the consumer 104. In some implementations, the message is communicated by the merchant 1304 transmitting the message to the server 108, which then transmits the message to the consumer 104.

It should be understood that the particular order in which the operations in FIGS. 19-22 have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods and/or processes described herein (e.g., the processes 800, 900, and 1200) are also applicable in an analogous manner to methods 1900-2200 described above with respect to FIGS. 19-22 .

FIGS. 23A, 23B, 24, 26A, and 26B illustrate the consumer device 104 displaying various user input (UI) screens for sending payments.

In FIG. 23A, the consumer device 104 received one merchant identifier corresponding to “Pizza Family Cuisine,” and identifies the name and logo for consumer selection (“Tap to Pay”). In FIG. 23B, the consumer device 104 received three merchant identifiers correspond to “Pizza Family Cuisine,” “Red Windsor Cheese Shop,” and “Lupines Flowers and Shrubberies.” As such, each merchant is listed by name in the same screen, awaiting the consumer's selection. Alternatively, each screen only includes one merchant, with the screens being scrollable, swipe-able, and so forth.

In FIG. 24 , the consumer device 104 displays an “Amount” field, which is either pre-filled (for implementations involving a merchant-specified payment amount) or fillable (for implementations involving a customer-specified payment amount).

In FIG. 26A, the consumer device 104 displays a prepopulated payment amount; the consumer can choose among a list of prepopulated payment amounts in FIG. 26B.

FIGS. 25A and 25B illustrate the merchant device 1304 displaying various UI screens for specifying payment amounts.

In FIG. 25A, the merchant enters a fillable field with the merchant-specified payment amount. In FIG. 25B, the merchant selects from a menu of prepopulated payment amounts for specifying the merchant-specific payment amount.

While particular implementations are described above, it will be understood it is not intended to limit the application to these particular implementations. On the contrary, the application includes alternatives, modifications and equivalents that are within the spirit and scope of the appended claims. Numerous specific details are set forth in order to provide a thorough understanding of the subject matter presented herein. But it will be apparent to one of ordinary skill in the art that the subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the implementations. 

What is claimed is:
 1. A method, comprising: at a consumer device including a display, one or more processors, a communications unit, and memory, performing by an application executing on the consumer device: identifying a first merchant device in proximity to the consumer device based at least in part on broadcasted information transmitted by the first merchant device, wherein the broadcasted information includes a first identifier corresponding to the first merchant device; transmitting via the communications unit of the consumer device the first identifier to a server and, in response to transmitting the first identifier to the server, receiving from the server an electronic communication including: first merchant identification information of a first merchant associated with the first merchant device, wherein the first merchant identification information includes one or more of a name, logo, picture, address, phone, or email of the first merchant; and first merchant transaction information identifying a proposed in-person transaction between the consumer device and the first merchant, wherein the first merchant transaction information includes a merchant-specified preset transaction amount; displaying on the display of the consumer device the first merchant identification information; receiving from a user of the consumer device selection of the first merchant identification information; in response to receiving the selection of the first merchant identification information: displaying the first merchant transaction information; receiving from the user of the consumer device first supplemental transaction information, wherein the first supplemental transaction information is a selection of the merchant-specified preset transaction amount; and transmitting the first supplemental transaction information to the server; and in response to transmitting the first supplemental transaction information to the server, receiving confirmation from the server that the proposed in-person transaction between the consumer device and the first merchant has been completed. 